[Reading Notes] iOS-a simple Frenzic puzzle game, ios-frenzic
If you decide to use UIView Animation or Core Animation, you must write some test cases to simulate the most demanding Animation that the game may encounter, and do not forget to play the sound. Do not wait until the last few minutes to increase the sound, because playing music and sound effects on the iPhone will indeed greatly consume processing power. The playing sound must be part of the simulation.
According to the crash logs reported by users, we found that most of the so-called "crashes" in Frenzic1.0 are not real crashes, but application crashes. If your application receives a memory warning but fails to release enough memory, the operating system will shut down the application. For users, this looks like an application crash.
The iPhone application must be persistent. That is to say, although you can exit the application at any time, it should continue to run from the last exit state during the next application startup.
Finally, pay attention to the specific iPhone needs of applications. Be especially careful with memory warnings. Although I have never seen such a warning on my device, the warning started to appear when Frenzic was in the hands of beta testers. If you ignore these warnings, the device will shut down your application. In the user's opinion, this is like an application crash.
Reference: amazing iPhone cool development-seven first-line experts programming and design examples