Hacker News new | past | comments | ask | show | jobs | submit login

They don't. They capture the active/inactive event.

Try tap the home button and re-open the app.




Could you elaborate? Is the inactive event triggered when the screen is completely covered, and any uncovering triggers the active event?


There are some cases where these events are triggered, open and close the Smart Cover is one of them.

You can read the following API documentation for more info:

http://developer.apple.com/library/ios/#documentation/UIKit/...

My guess is they do the switch of question when applicationWillResignActive is being called. Simple as that.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: