How to display the message "Cellular data is disabled"?
Apple built-in apps display a pop-up message when the user has no cellular or Wi-Fi connection. It looks something like this:
"Cellular data is disabled
Turn on cellular data or use Wi-Fi to access data
[Settings] [OK] "
Clicking the "Settings" button opens the settings panel.
Is this a system popup? How can I use it in my application?
I'm already using UIRequiresPersistentWiFi, but it uses a different type of message that appears when airplane mode is on.
source to share