“应用程序需要 iPhone 环境"是什么意思?键入 info.plist? [英] What is the meaning of the "Application Requires iPhone Environment" key in info.plist?

查看:46
本文介绍了“应用程序需要 iPhone 环境"是什么意思?键入 info.plist?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法理解我的应用程序中 info.plist 文件中的具体要求.我应该完全改变它,还是默认设置通常是正确"的选项?

I'm having trouble understanding the specific requirements in the info.plist file in my app. Should I change it at all, or are the default settings typically the "correct" options?

具体来说,条目:APPLIS REQUIRES IPHONE ENVIRONMENT

如果设置为 yes,是否意味着只有 iPhone 能够运行我的应用程序,这意味着 iPod Touch 或 iPad 将无法运行该应用程序?

If set to yes, does that imply only an iPhone is capable of running my app, meaning an iPod Touch or iPad won't be able to run the app?

推荐答案

这里是 Apple 关于应用程序 info.plist 文件的LSRequiresiPhoneOS"位的文档.

基本上这意味着该应用程序旨在在 iOS 下运行.无论目标设备是 iPhone、iPod Touch 还是 iPad,都应将此标志设置为 YES.

Basically all it means is that the app is designed to run under iOS. This flag should be set to YES no matter if the target device is an iPhone, iPod Touch or iPad.

谁知道,也许在不久的将来,MacOS 将能够运行 iOS 应用程序(反之亦然)?

Who knows, maybe in the not-so-distant future, MacOS will be able to run iOS apps (or vice versa)?

这篇关于“应用程序需要 iPhone 环境"是什么意思?键入 info.plist?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆