Multitasking as we all know is not supported in all the devices available even after updating to iOS 4.0. So, how can we determine if a device supports multitasking or not.

UIDevice *device = [UIDevice currentDevice];

if ([device respondsToSelector:@selector(isMultitaskingSupported)]){
//Multitasking related activities
}
Advertisements