我需要检查多任务处理吗?(Do I need to check for multitasking? iOS)

编程入门 行业动态 更新时间:2024-10-27 04:28:24
我需要检查多任务处理吗?(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.

更多推荐

本文发布于:2023-08-04 18:26:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1419920.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:check   multitasking   iOS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!