Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iPhone In Action: sleep issues, what happens when...

 
Fred Muhlenberg
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happens to your running app when the iPad/iPhone is turned off or suspended in the background such as when the phone rings?
Are there special considerations for the app to continue from where it left off?

-Fred
 
Alaa Nassef
Ranch Hand
Posts: 471
Hibernate Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this out
 
Pratik Goswami
Ranch Hand
Posts: 136
Android Chrome Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Fred,

If your app is developed with iOS 4.0 then and you will get notification when your application switched to background mode.

In 3.0 or if you are getting such interruption your application will be in suspend mode. Once your interruption gets finish your app will be relaunched from previous state.
Apple has well formatted document here.

Thanks
Pratik Goswami

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic