
- iOS Tutorial
- iOS - Home
- iOS - Getting Started
- iOS - Environment Setup
- iOS - Objective-C Basics
- iOS - First iPhone Application
- iOS - Actions and Outlets
- iOS - Delegates
- iOS - UI Elements
- iOS - Accelerometer
- iOS - Universal Applications
- iOS - Camera Management
- iOS - Location Handling
- iOS - SQLite Database
- iOS - Sending Email
- iOS - Audio & Video
- iOS - File Handling
- iOS - Accessing Maps
- iOS - In-App Purchase
- iOS - iAd Integration
- iOS - GameKit
- iOS - Storyboards
- iOS - Auto Layouts
- iOS - Twitter & Facebook
- iOS - Memory Management
- iOS - Application Debugging
- iOS Useful Resources
- iOS - Quick Guide
- iOS - Useful Resources
- iOS - Discussion
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.
- Related Articles
- How to enable/disable the GPS programmatically in Android?
- Disable Scroll View Programmatically in iOS?
- How can I disable/enable GPS programmatically in android?
- How to enable or disable the GPS programmatically on Kotlin?
- How to disable ScrollView Programmatically in Android?
- How to Disable / Enable a Button in TKinter?
- How to disable/ enable checkbox with jQuery?
- How to disable the network in iOS Simulator?
- How to lock Screen Orientation programmatically in iOS?
- How to change screen brightness programmatically in iOS?
- How to answer incoming call programmatically in iOS?
- How to take a screenshot programmatically in iPhone/iOS?
- How to programmatically prevent scrolling in WebView of iOS?
- How to create Picker programmatically from array in iOS?
- How to lock & unlock the iOS device programmatically

Advertisements