开发者

Is Multitasking Enabled iPhone SDK

Please could you tell me how I co开发者_如何学JAVAuld find out if multitasking is enabled on the iPhone. I am using Xcode.


This is pretty much straight out of Apple's documentation:

UIDevice* device = [UIDevice currentDevice];
BOOL backgroundSupported = NO;
if ([device respondsToSelector:@selector(isMultitaskingSupported)])
    backgroundSupported = device.multitaskingSupported;
return backgroundSupported;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜