How to enable/disable data connection in iOS programmatically?

iOSApps/ApplicationsMobile Development

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.

raja
Published on 29-Jul-2019 10:22:00
Advertisements