如何向现有应用程序添加一个或多个插件 [英] how to add one or more plugins to an existing app

查看:48
本文介绍了如何向现有应用程序添加一个或多个插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的公司想做一个像书架一样的应用程序,当应用程序完成时可以加载更多的书籍,他们希望应用程序能够加载更多的插件而不破坏已经安装的代码:当应用程序已经被购买和下载时应用商店,用户可以在应用商店购买插件并安装到应用中.

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 和设计插件机制

https://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFPlugIns/CFPlugIns.html

您必须选择正确的平台来创建插件,然后您需要将已安装的插件链接到正确的应用程序我认为您无法在安装插件之前检查该应用程序是否必须安装

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

第二种方式是使用应用内购买并将插件下载到程序数据目录我认为第二种方法更有用,更有效,因为在AppStore中不能出售非独立的应用,并且依赖于另一个应用.

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屋!

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