如何将一个或多个插件添加到现有应用程序 [英] how to add one or more plugin to an exist app

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

问题描述

我的公司希望做一个类似书架的应用程序可以在应用程序完成后加载更多书籍,他希望应用程序可以加载更多插件并且不会破坏之前的代码,就像应用程序在应用程序商店中销售时一样,使用可以下载应用程序并将其安装在他们的iPhone,之后,使用可以购买应用程序商店中的插件,并将其安装在应用程序之前。
我的公司想要做这种应用程序,是否有人可以告诉我这可以实现,如何实现,非常感谢。

my company want to do a application which like a bookshelf can load more books when the the application finished, he want the application can load more plugin and will not destroy the before code, like when the app has sold in app store, the use can download the app and install it in their iphone, after this, the use can buy the plugins in the app store and install it in the before app. My company want to do this kind of app, are there some one can tell me this could come ture and how to archieve, 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天全站免登陆