One Logo Pool Ball
ManagedSettings · IOS API REFERENCE

CellularSettings

struct · iOS 15.0+ · SDK 27.1

struct CellularSettings

Constraints on the user's cellular networking settings. Use `CellularSettings` to constrain the user's ability to modify cellular settings in the Settings app.

Members (9)

get · iOS 15.0+

lockCellularPlan

TypeScript
static get lockCellularPlan(): SettingMetadata<boolean>
Swift declaration
static let lockCellularPlan: SettingMetadata<Bool>

The metadata associated with the constraint that locks the user's cellular plan. The default value is `false`.

get · iOS 15.0+

lockCellularPlan

TypeScript
get lockCellularPlan80410(): (boolean) | null
Swift declaration
var lockCellularPlan: Bool? { get set }

A Boolean value that indicates whether to prevent the user from changing their cellular plan.

set · iOS 15.0+

lockCellularPlan

TypeScript
set lockCellularPlan80410(value: (boolean) | null)
Swift declaration
var lockCellularPlan: Bool? { get set }

A Boolean value that indicates whether to prevent the user from changing their cellular plan.

get · iOS 15.0+

lockAppCellularData

TypeScript
static get lockAppCellularData(): SettingMetadata<boolean>
Swift declaration
static let lockAppCellularData: SettingMetadata<Bool>

The metadata associated with the constraint that locks the cellular data setting. The default value is `false`.

get · iOS 15.0+

lockAppCellularData

TypeScript
get lockAppCellularData15263(): (boolean) | null
Swift declaration
var lockAppCellularData: Bool? { get set }

A Boolean value that indicates whether to prevent the user from changing cellular data settings. Use this setting to prevent the user from changing which apps on their device can use cellular data. If your app doesn't constrain this setting, this value is `nil`.

set · iOS 15.0+

lockAppCellularData

TypeScript
set lockAppCellularData15263(value: (boolean) | null)
Swift declaration
var lockAppCellularData: Bool? { get set }

A Boolean value that indicates whether to prevent the user from changing cellular data settings. Use this setting to prevent the user from changing which apps on their device can use cellular data. If your app doesn't constrain this setting, this value is `nil`.

get · iOS 15.0+

lockESIM

TypeScript
static get lockESIM(): SettingMetadata<boolean>
Swift declaration
static let lockESIM: SettingMetadata<Bool>

The metadata associated with the constraint that locks the user's eSIM settings. The default value is `false`.

get · iOS 15.0+

lockESIM

TypeScript
get lockESIM78860(): (boolean) | null
Swift declaration
var lockESIM: Bool? { get set }

A Boolean value that indicates whether to prevent the user from changing their eSIM settings. If your app doesn't configure this setting, the value is `nil`.

set · iOS 15.0+

lockESIM

TypeScript
set lockESIM78860(value: (boolean) | null)
Swift declaration
var lockESIM: Bool? { get set }

A Boolean value that indicates whether to prevent the user from changing their eSIM settings. If your app doesn't configure this setting, the value is `nil`.

Skipped declarations

No declarations were skipped in this snapshot.

All ManagedSettings types →