Skip to content

Latest commit

 

History

History
10 lines (4 loc) · 377 Bytes

README.md

File metadata and controls

10 lines (4 loc) · 377 Bytes

Detecting Home button vs Lock button - iOS 7

This project describes how to detect when a user presses the home button to leave your application and when they press the lock button to put your app into the background.

It utilizes CSNotificationCenter to detect Darwin notifications.

credit goes out to wqq on stackoverflow