Try using SCNetworkReachabilityGetFlags
(SystemConfiguration framework). If the flags variable handed back is 0 and the return value is YES, airplane mode is turned on.
Check out Apple’s Reachability classes.
More Related Contents:
- How to check iOS version?
- Applications are expected to have a root view controller at the end of application launch
- How do I URL encode a string
- didReceiveRemoteNotification not called, iOS 10
- MKMapView: Instead of Annotation Pin, a custom view
- Best way to sort an NSArray of NSDictionary objects?
- How to create IPA in Xcode 6?
- iOS 9: How to change volume programmatically without showing system sound bar popup?
- UITableView with fixed section headers
- UIScrollView: paging horizontally, scrolling vertically?
- AutoLayout with hidden UIViews?
- Instruments Allocations track alloc and dealloc of objects of user defined classes
- Delete all keys from a NSUserDefaults dictionary iOS
- What is the difference between Modal and Push segue in Storyboards?
- Adding Navigation Bar programmatically iOS
- Remove empty space before cells in UITableView
- Detect iOS device type
- Adjust UIButton font size to width
- How do you add an action to a button programmatically in xcode
- CCAvenue iOS kit integration kit
- How to handle iphone screen sizes/resolution for background images
- How do I get hour and minutes from NSDate?
- Delete specified file from document directory
- How to make custom UIBarButtonItem with image and label?
- EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) on dispatch_semaphore_dispose
- How to reliably detect if an external keyboard is connected on iOS 9?
- import swift class in objective-c, -Swift.h file not found
- AVSpeechSynthesizer in background mode
- UICollectionView current visible cell index
- What size should TabBar images be?