I updated to the latest iOS 4 SDK, and updated my iPod touch to the latest OS fine. I built my application against 4.0, and it appears to use the multitasking functionality fine. However, when I run my application on my iPod touch, it does not appear to use multitasking.
How can I detect whether multitasking is supported on a device in code? Is there any way to work around this for unsupported devices?
You can check whether the device is capable of multitasking like this:
UIDevice* device = [UIDevice currentDevice];
BOOL backgroundSupported = NO;
if ([device respondsToSelector:@selector(isMultitaskingSupported)])
backgroundSupported = device.multitaskingSupported;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With