In iOS,specifically in developing for iPhone, it is very important for an application
to have proper handler methods for different states that the application may go
to. This is because of the fact that in iPhone, the likelihood of your
application going to background is reasonably high. This can be due to a phone
call, SMS, alarms or even user pressing the home button. There are few matters that
should be particularly considered when thinking about your application life
cycle. For instance:
- Applications that use OpenGL in the background will be terminated by iOS.
- Although networking operations can easily continue to operate in background, special considerations similar to those of concurrency are required.
- Timers and other periodical tasks should stop functioning.
- No new task should be initiated.
application did finish launching,
application did become active,
application will resign active,
application did enter background,
application will enter foregroundand
application will terminate.
No comments:
Post a Comment