Put iPhone to sleep programmatically, not an app for App Store
The sleep button on my iPhone is no longer working. As a developer my idea is to create an app which will put the phone to sleep as soon as launched.
However, after searching SO it seems every answer has been that it involve开发者_JAVA百科s private API's and that it won't make it to the App Store. As this is not intended for the App Store, how can this be done?
精彩评论