0

我正在使用代码` UIBackgroundTaskIdentifier bgTaskId; if([player play]) bgTaskId=[[UIApplication sharedApplication]; beginBackgroundTaskWithExpirationHandler:NULL];

这样当我退出我的应用程序或锁定启用音乐时应该继续播放。它在模拟器机器人上工作正常而不是在设备上。我的 ipod 版本是 4.0(8A293),我认为它支持多任务处理,所以谁能告诉我问题是什么???或者我的设备有问题...`

4

1 回答 1

0

型号 8A293 是 iPod 2g,不支持 iOS4 中的多任务处理,除非您越狱并启用它。

http://theiphonewiki.com/wiki/index.php?title=Apex_8A293_(iPod_touch_2G ) http://www.addictivetips.com/mobile/multitasking-in-ipod-touch-2g-ios-4-confirmed-video/

于 2011-03-21T04:23:59.003 回答