如何将一个或多个插件添加到现有应用程序 [英] how to add one or more plugins to an existing app
问题描述
我的公司希望创建一个像书架一样可以在应用程序完成后加载更多书籍的应用程序,他们希望该应用程序能够加载更多插件而不会破坏已经安装的代码:从购买和下载该应用程序后在应用商店中,用户可以在应用商店中购买插件并将其安装到应用中.
My company want to make an application which like a bookshelf can load more books when the application finished, they want the application to be able to load more plugins without destroying the already installed code: when the app has been purchased and downloaded from the app store, the user can buy plugins in the app store and install them into the app.
有人可以告诉我如何实现这一目标吗?非常感谢.
Can anyone tell me how this could be achieved? Thank you very much.
推荐答案
在C或C ++中实现插件系统
Xcode& iOS-创建插件?
如何将多个iPhone应用程序合并到一个申请吗?
Objective-C插件体系结构安全性(Mac,而不是iPhone)
Objective-C和设计插件机制
Implementing A Plugin System in C or C++
Xcode & iOS - Create Plugins?
How can I combine multiple iPhone applications in to one application?
Objective-C Plugin Architecture Security (Mac, not iPhone)
Objective-C and designing a plugin mechanism
您必须选择正确的平台来创建插件,然后需要将已安装的插件链接到正确的应用程序 我认为您无法在安装插件之前检查是否必须安装该应用程序
You have to choose right platform for creating plugins and then you need to link installed plugins to correct app I don't think you'll be able to check that before installing plugins the app has to be installed
第二种方法是使用in-app purchase
并将插件下载到程序数据目录
我认为第二种方法更实用,更有效,因为in AppStore cannot be sold application which is not standalone
并依赖于另一个应用程序.
Second way will be using in-app purchase
and downloading plugins to program data directory
I think the second way is more usable and more valid, because in AppStore cannot be sold application which is not standalone
, and depends on another app.
这篇关于如何将一个或多个插件添加到现有应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!