I have two iOS applications say App A and App B. I need to implement a feature like follows:
If user is installed my App A, then I need to ask user to install my App B (if not installed) to unlock a special feature in App A.
My issues:
What I tried:
I think there is someway to do this without using private frameworks because the above mentioned apps are approved by apple and available in app store.
Thanks in advance
Why dont you use iOS URL Schema canOpenURL
. Using Url schema you can find an application is installed or not.
UIApplication *myApplication = [UIApplication sharedApplication];
NSString *myPath = @"appURL://";
NSURL *myURL = [NSURL URLWithString:myPath];
if ([myApplication canOpenURL:myURL]) {
//Installed
//Go for unlock login
}
else {
//Not Installed
//Inform user application not installed and redirect to iTunes Application url
}