Skip to content

Instantly share code, notes, and snippets.

@kishorek
Forked from darkseed/gist:1159376
Created March 27, 2012 09:45
Show Gist options
  • Save kishorek/2214440 to your computer and use it in GitHub Desktop.
Save kishorek/2214440 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