我需要检查多任务处理吗?(Do I need to check for multitasking? iOS)
我在一个项目中发现了这种代码:
if ([[UIDevice currentDevice] isMultitaskingSupported]) { ... }但是,据我所知,iOS 4.0以来支持多任务处理。 这有时可用于检查多任务处理吗?
I found in one project this kind of code:
if ([[UIDevice currentDevice] isMultitaskingSupported]) { ... }But, as I know, multitasking is supported since iOS 4.0. Is this sometimes can be useful to check for multitasking?
最满意答案
不,您不需要检查多任务处理。 所有当前的iOS设备都支持它,如果没有多任务支持,您无法将应用程序提交到App Store。
No, you don't need to check for multitasking. All current iOS devices support it and you can't submit an app to the App Store without multitasking support.
更多推荐
发布评论