2

I have read discussion over here: Determining if Airplane Mode is enabled on an iPhone?

I conclude that I cannot determine whether AirPlane mode is ON or OFF if i got Cellular Data OFF and WiFi OFF. BUT recently i have checked how Facebook solve this problem. I see when I lunch application with AirPlane mode and disabled Wi-Fi I receive: message 'Turn Off Airplane Mode or User Wi-Fi to Access Data'

And when i disable AirPlane and disable Cellular and Wi-Fi: message 'No internet connection'

How should I distinguish these two situations?

Thread related to this question: How to check for an active Internet connection on iOS or OSX?

Community
  • 1
  • 1
Szu
  • 2,254
  • 1
  • 21
  • 37

0 Answers0