public
Created

iPhone check for multitasking

  • Download Gist
gistfile1.m
Objective-C
1 2 3 4 5 6 7 8 9
- (BOOL) isMultitaskingCapable
{
UIDevice* device = [UIDevice currentDevice];
BOOL backgroundSupported = NO;
if ([device respondsToSelector:@selector(isMultitaskingSupported)])
backgroundSupported = device.multitaskingSupported;
return backgroundSupported;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.