0

i am on a research to find ways to lock iphone programmatically . I have come across a private api "graphicsservices.framework" which they say it works only on devices below iOS7. Is there any possible way to do this in devices >iOS7 ?? i know Apple wont accept this , but any private frameworks other than "graphicsservices.framework" ? . Thanks in advance.

Cœur
  • 37,241
  • 25
  • 195
  • 267
good4pc
  • 711
  • 4
  • 17
  • Hopefully this post should help you. http://stackoverflow.com/questions/19209887/programmatically-lock-iphone-screen-in-ios-7 – StackUseR Nov 17 '16 at 05:30

1 Answers1

0

I am sorry to say but this is not possible in non jailbroke iPhones. There may be a private API for it but apple would reject an app using it, So careful for the same.

You can also see reference 1 and reference 2.

TheTiger
  • 13,264
  • 3
  • 57
  • 82
Hitesh Surani
  • 12,733
  • 6
  • 54
  • 65