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

查看:147
本文介绍了“应用程序需要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?

具体来说,条目:应用程序需要IPHONE环境

如果设置为是,这是否意味着只有 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?

推荐答案

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

Here's Apple's documentation on the "LSRequiresiPhoneOS" bits of an application's info.plist file.

基本上所有这意味着该应用程序旨在在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天全站免登陆