Uploading 2 iOS apps in Appstore for one app release? - ios

Can I have 2 iOS apps uploaded in Apple Appstore, so that I can launch one app from another internally for some functionality and vice versa. For ex: App A and App B. For doing some functionality, I want to launch App B from App A. In this case, I should have both apps on the device, so that i can launch like this using [[UIApplication sharedApplication] openURL:myAppBURL];. So, Can I have these 2 apps in Appstore, so that users can download both and having that particular feature also working?
Any suggestions please?

Let's try to clarify this:
If you have two apps, both should be able to exist independently: specific functionality, independent launch etc.
The need for independence between apps is, at the same time, compatible with app inter-communication.
You can call app B from app A and supply a custom URL so that you send B a specific message.
In the question you ask in the comments, the answer is: you cannot run code from the outside of Apple ecosystem. But of course you may launch Safari, or app B if it has been approved. In fact, what you are doing is again communicating, not executing anything nor downloading code.

Related

New requirements for iOS app - keep them accessible to users/customers

I got an email from Apple that apps now require iOS13 + storyboard for app launch screen for existing apps. (I do not use storyboard for main app functionality)
I have developed a couple swift1/swift2 based for schools a long time ago. (Still works well)
Can I somehow ditch the app store and then provide direct access or download for school pupils?
i.e. is there any way forward to simple keep the apps-as-they-are? Maybe limited download availability?
Or will I have to take plunge back into app-building?
The requirement of a Storyboard launch screen is only when you need to submit an app update. If you are not wanting to update your app any more, then it won’t stop working because of this new requirement.
Regarding distribution outside of the App Store, you could use Adhoc distribution which requires you to know the device ID’s of the devices you want to install it to.

Launch game from iOS app and return to it once closed

I have developed an app and I want to run another app installed on the phone and downloaded from the store (a game) inside a portion of the screen.
As I understood from my search, this is not possible. The next best solution would be to launch the game from my app and always return to it once the game closes.
I have been able to bootstrap a solution with a particular game using URL Schemes but is there a general solution working with any app downloaded from the store?
Do the answers provided there still apply or is it now possible? Can you run an iOS app inside another iOS App
No, you still can not run an app within another app.
The only way to launch another app from your own is by using URL schemes, and there is no way to make a third-party app reopen your original app once the user completes a game.
You cannot directly obtain a list of installed applications to launch, but you could use iHasApp and possibly your own dataset of known URL schemes to check if a given app is installed on the device.

Universal app or not

I developed my first iphone app recently and would like to port it to an ipad. I've got a couple of related questions.
1) from what i've read, it sounds like creating a universal app will increase the size of the app that the user will download onto their iphone/ipad. is that right? my app is not small right now and i'd like to add some functions to the ipad version. Its something of a disincentive to package a universal app if it means a larger app for iphone users who won't benefit from the added functions added to the ipad app.
2) is it possible to have separate apps for the ipad and iphone but only make users pay for one version of them, if i don't go for a universal app? That is, if someone pays for the iphone version right now, i'd like them to have the ipad version for free when i finish it in about a month. is that possible outside of a universal app?
thanks,
rich
1) Yes, a universal app has everything for both versions so it is bigger. For a user that wants the app on both types of devices this isn't really a problem.
2) No, there is no way to have two separate apps such that the user can have both while only paying for one. At least it's not possible through standard means. If you make both apps free with IAP, then you could have your apps generate some sort of code that could be entered into the other to grant full functionality. Such a scheme is a lot of extra work.
Try to do a universal app and see how big it gets. All of the code is shared and as long as you don't have too many iPad-only full screen images or iPhone-only full screen images, the universal app isn't much bigger than a non-universal app.

Load and delete an app programmatically

Is it possible on an iphone to programmatically load an app from another app?
I know that you can link to the app in the appstore but I would like to load an app by entering for example its name and it is loaded without leaving the app which sent the order.
And the same question for deleting an app programmatically. For example having a list of all apps in your device and by pressing on one of them it is deleted.
This would be impossible as the iOS sandboxes apps from changing any files not within it's app folder or modifying any other apps.
That is not possible on a non-jailbroken device, and for good reason. Depending on what you are selling though, you might want to consider the in-app purchase system Apple provides.
IF you only would like to load another App inside your App, I think you could try URL Schemes

How do iphone apps know about other apps?

I recently downloaded an app (Overkill) and they have an in game "virtual currency" called "overkill medals" or "OM". You can use the in-app purchase system to buy more OM, or you can earn it, through their service called "Tapjoy."
Tapjoy (inside the Overkill app) brings up a menu with eligible apps, and a link to the iTunes store to download it and requires you to "download and open" the app in order to earn your OM.
How does this app know that I have downloaded and opened the app, in order to award me the OM?
Edit: It also seems to know when I had the app already
The app is likely checking to see if another app has registered a custom URL scheme, by calling UIApplication canOpenURL, against a list of known schemes dolled out by Tapjoy to each implementor.
The isn't anything within the Apple's iOS SDK that would allow this, so in all likelihood each of these apps is registering with a web service. The server is tracking installation and use of the various apps by relating the unique device id.

Resources