简体   繁体   English

合并两个不同的产品并根据条件运行

[英]Merge two different product and run based on conditions

I am new to ios and i have not worked stuff as below. 我是ios的新手,但我没有如下工作。

I have two different products in iOS. 我在iOS中有两种不同的产品。

One is APP A which is prepared using Xcode project A.xcodeproj and other one is APP B which is prepared using Xcode project B.xcodeproj . 之一是其使用Xcode项目A.xcodeproj和另一种是其使用Xcode项目B.xcodeproj制备APP B制备APP甲 Project A is built using NIBS and Project B is built using Storyboard. 使用NIBS构建项目A,使用Storyboard构建项目B。 Both have different functionalities. 两者都有不同的功能。

Now i need single APP A , which is combination of A & B means Two projects in single bundle and i will upload single product on App Store. 现在我需要一个APP A ,它是A和B的组合,意味着两个项目捆绑在一起,我将在App Store上载单个产品。 When i am in Office and runs APP it automatically runs APP A means all functionality of APP A and when i am at home it runs APP B means all functionality of APP B. 当我在Office中运行APP时,它会自动运行APP A,这意味着APP A的所有功能;当我在家时,它运行APP B是指APP B的所有功能。

Is it possible to do like this ? 有可能这样做吗? OR how can i achieve this gold. 或我怎样才能获得这种金。

Thanks in advance. 提前致谢。

You can check condition at the start of the application and run proper initial screen. 您可以在应用程序启动时检查条件并运行正确的初始屏幕。 If your apps are completely different it wouldn't create any issue. 如果您的应用完全不同,则不会产生任何问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM