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
  • 34,719
  • 24
  • 185
  • 251
good4pc
  • 681
  • 3
  • 17
  • Hopefully this post should help you. http://stackoverflow.com/questions/19209887/programmatically-lock-iphone-screen-in-ios-7 – Rahul 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,035
  • 3
  • 55
  • 79
Hitesh Surani
  • 11,344
  • 5
  • 46
  • 60