2

I wanted to toggle airplane mode programmatically without using entitlements for non jailbroken device using private framework. is this possible for non jailbroken device, if it is possible Can someone help me with sample code or ways to do it.

Thanks in advance

Prabha
  • 424
  • 1
  • 4
  • 11
  • That's the beauty of apple. For apple **Programmers** are not priority but **End users** – Inder Kumar Rathore Feb 13 '14 at 09:39
  • This should not have been closed as a duplicate. The method of implementing this, which worked prior to iOS 7, stopped working for iOS 7+. Therefore, a new solution is needed. This should not have been closed. – Nate Aug 15 '15 at 23:15

1 Answers1

2

It's not possible without using private API.so will be rejected by apple. if still you you want to try here is a tutorial for it.

  1. What you can do is show a notification that guides the user to the Airplane setting and then the user changes the setting.
  2. You can use Siri to open the Airplane settings screen
SwapnilPopat
  • 517
  • 5
  • 26