Private iOS API: Toggle mobile data programmatically

Use this snippet to toggle mobile (cellular) data on your device programmatically.


Required entitlements:

This requires entitlement on iOS 8.3+. Works without entitlement on iOS 8.1.2.

Download the example entitlement file from here: cellular.entitlements


Confirmed working on jailbroken iOS 8.1.2iOS 8.4, iOS 9.0

Additional headers:

Download CTCellularDataPlan.h


Leave a Reply

Your email address will not be published. Required fields are marked *