将两个iOS应用为一体 [英] Combine two iOS apps into one

查看:104
本文介绍了将两个iOS应用为一体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一种情况,两家独立的公司希望加入其iOS应用在一起,形成一个单一的应用程序(因此只需要一个App Store下载)。该应用程序有完全独立的code-基地。该公司正在寻找合作伙伴一起,但他们真的不希望彼此看见对方code。

I have a situation where two separate companies wish to 'join' their iOS apps together to form a single app (so that only one App store download is required). The apps have entirely separate code-bases. The companies are looking to partner together but they don't really want one another seeing each others code.

与code摆弄的程度是可以接受的。

A degree of fiddling with the code would be acceptable.

有什么办法来'包'了code-基地或二进制文件,以便应用1可以纳入APP2,而无需访问应用程序1 code基地APP2开发商?

Is there any way to 'package' the code-bases or binaries so that app 1 could be incorporated into app2 without the app2 developers having access to the app 1 code base?

感谢

推荐答案

当然,使应用程序变成libaries或框架,可以称为到从其他(实例化并打开一个XIB文件和查看的一个(或两个)控制器是其他应用程序的父视图)。

Sure, make one (or both) of the apps into libaries or frameworks that can be called into from the other (to instantiate and open a XIB file and view controller which is the parent view of the "other" app).

然后,将源$ C ​​$ C可以分开,并从一个部分不同而异。

Then the source code could be kept separate and distinct from one section to another.

但你也必须对如何处理的任何应用程序委托(UIApplicationDelegate),它们在这两个应用程序实现的方法做工作了解决方案。祝你好运!

But you would also have to work out solutions for what to do with any app delegate (UIApplicationDelegate) methods that are implemented in both applications. Good luck with that!

这篇关于将两个iOS应用为一体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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