Question

Please could you tell me how I could find out if multitasking is enabled on the iPhone. I am using Xcode.

Was it helpful?

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
scroll top