supportsCellularPlan()
Returns whether the device and your app meet eSIM provisioning requirements.
Declaration
func supportsCellularPlan() -> BoolReturn Value
Discussion
This method returns true when all of the following conditions are met:
The device supports eSIM installation.
The activation policy allows eSIM installation.
Your app includes the com.apple.CommCenter.fine-grained entitlement with
public-cellular-planin its array of values.
You can use this method to verify that your entitlement is properly configured. If you expect the device to support cellular plans but it returns false, check that you’ve added the required entitlement to your app and that its value array includes public-cellular-plan.
This method doesn’t check whether you have installed an eSIM. You can call this method at any time.