Skip to content

Instantly share code, notes, and snippets.

@darkseed
Created August 20, 2011 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save darkseed/1159376 to your computer and use it in GitHub Desktop.
Save darkseed/1159376 to your computer and use it in GitHub Desktop.
iPhone check for multitasking
- (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