I have iOS 4.0 on an iPod Touch 2nd Gen.
There's absolutely no multitasking working. Nothing goes to the background, and double-tapping the Home Button results in just nothing. I wanted to test my app against this new feature, but it appears that it doesn't work for iPod Touch devices?
Does that only work on the iPhone? Or is there some minor upgrade like 4.0.0.1 that enabled multitasking? Or must I enable that somewhere, manually?
Really strange. I do the exact same thing like the Apple guys do in the demo videos.
The documentation says:
The ability to run background tasks is not supported on all iPhone OS–based devices. If a device is not running iPhone OS 4 and later, or if the hardware is not capable of running applications in the background, the system reverts to the previously defined behavior for handling applications.
You can test if it's supported with the following code:
UIDevice * device = [ UIDevice currentDevice ];
BOOL backgroundSupported = NO;
if( [ device respondsToSelector: @selector( isMultitaskingSupported ) ] )
{
backgroundSupported = device.multitaskingSupported;
}
Multitasking only works on the 3GS iPhones and up. You are out of luck with your 2nd Gen iPod Touch (its like the iPhone 3G, sort of). Sorry.
EDIT: You would need a 3rd Gen iPod Touch, just to be clear.
You need a 3rd gen iPod Touch for that to work. I've run into the same issue.
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