我可以将iOS 8扩展的应用部署到运行iOS 7的设备吗? [英] Can I deploy apps with iOS 8 extensions to devices running iOS 7?

查看:74
本文介绍了我可以将iOS 8扩展的应用部署到运行iOS 7的设备吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在swift中创建一个具有Notification Center小部件的iOS应用程序。

I am creating an iOS app in swift that has a Notification Center widget.

但是,我希望该应用程序能够在iOS 7上运行。如果我有小部件,我可以在iOS 7上运行应用程序(使用主应用程序,但不能运行小部件)或者我是否必须创建没有小部件的iOS 7版本?

However, I want the app to run on iOS 7 just fine. If I have the widget, can I just run the app on iOS 7 (with the main app, but not the widget working) or do I have to create an iOS 7 version without the widget?

推荐答案

是的,你可以。引用 Apple文档


如果从包含应用程序链接到嵌入式框架,则可以
仍将其部署到8.0以上的iOS版本,即使这些版本中没有
嵌入式框架。

If you link to an embedded framework from your containing app, you can still deploy it to versions of iOS older than 8.0, even though embedded frameworks are not available in those versions.

这是在 App Extension编程指南中。因此,只有不言自明的是,扩展可以通过应用程序部署到旧版本的iOS。

And this was in the App Extension Programming Guide. Therefore, it's only axiomatic that extensions can be deployed with apps to older versions of iOS.

这篇关于我可以将iOS 8扩展的应用部署到运行iOS 7的设备吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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