Created
August 20, 2011 17:25
-
-
Save darkseed/1159376 to your computer and use it in GitHub Desktop.
iPhone check for multitasking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (BOOL) isMultitaskingCapable | |
{ | |
UIDevice* device = [UIDevice currentDevice]; | |
BOOL backgroundSupported = NO; | |
if ([device respondsToSelector:@selector(isMultitaskingSupported)]) | |
backgroundSupported = device.multitaskingSupported; | |
return backgroundSupported; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment