Thursday, 4 July 2013

Check if multitasking is available iOS device?

#pragma mark- Multitasking -
+(BOOL)multitaskingAvailable
{
UIDevice* device = [UIDevice currentDevice];
BOOL backgroundIsSupported = NO;
if ([device respondsToSelector:@selector(isMultitaskingSupported)])
   backgroundIsSupported = device.multitaskingSupported;
return backgroundIsSupported;
}

No comments:

Post a Comment