private api Archive

Private iOS API: Toggle mobile data programmatically

Use this snippet to toggle mobile (cellular) data on your device programmatically. Snippet: 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 Compatibility: Confirmed working on

Using private (undocumented) iOS methods for debugging

Using private iOS methods is strictly forbidden by Apple… but only in Release builds. There are plenty of useful iOS methods that can be utilised for debugging purposes – just make sure to remove them from the Release