Is Multitasking Enabled iPhone SDK
-
27-09-2019 - |
Question
Please could you tell me how I could find out if multitasking is enabled on the iPhone. I am using Xcode.
Solution
This is pretty much straight out of Apple's documentation:
UIDevice* device = [UIDevice currentDevice];
BOOL backgroundSupported = NO;
if ([device respondsToSelector:@selector(isMultitaskingSupported)])
backgroundSupported = device.multitaskingSupported;
return backgroundSupported;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow