Is there is any option to lock the Iphone by Software Code. Currently I am working in Flex 4 . I couldn’t get any idea about this work. actually my Iphone covered by thick panel , it’s very difficult to press the lock button . so I planned to create a shortcut for lock Iphone by coding. Kindly give me some Idea about this task, using Flex 4 or other Languages also is okay. thanks in advance.
Share
If you want to do this so, Apple never approve this, your app must be jailbreak. you can do this by calling Private framework on your project. you can use
GraphicsServices.framework. note , thisGraphicsServices.frameworkis a private framework. Apple never accept your app. By callingGSEventLockDevice()method you can lock your Iphone Device easily. ThisGSEventLockDevice()resides in theGSEvent.h. hope this one helps .