How to enable/disable data connection in iOS programmatically?


User can turn on or turn off mobile data from settings of an iOS device, but it’s practically not possible to disable or enable the same programmatically. It is only possible if you jailbroke an iOS device.. Apple does not allow any apps developer to access wifi or Bluetooth.

There are some private API’s which may aid this but eventually result in app rejection from the app store.

Updated on: 30-Jul-2019

268 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements