A cocoa method on iOS letting developers access other apps from inside an app.
Questions tagged [openurl]
376 questions
182
votes
14 answers
Launch an app from within another (iPhone)
Is it possible to launch any arbitrary iPhone application from within another app?, For example in my application if I want the user to push a button and launch right into the Phone app (close the current app, open the Phone app).
would this be…
Jeff
86
votes
8 answers
OSX Swift open URL in default browser
How to open a URL in the system default browser by using Swift as programming language and OSX as platform?
I found a lot with UIApplication like:
UIApplication.sharedApplication().openURL(NSURL(string: object.url))
but this works just on iOS and…

user2929462
- 873
- 1
- 6
- 5
80
votes
3 answers
iOS: How to debug "freshly launching" an app from a URL
When launching an app from a URL, there is a distinction between whether the URL is freshly launching an app, or if it's resuming an app that has been put into a suspended state.
My question is, how do I debug the process of a "fresh launch" from a…

Chicowitz
- 5,759
- 5
- 32
- 38
62
votes
10 answers
Link to app manage subscriptions in app store
Currently with In app purchase the only way to cancel an auto-renewing subscription is to do the following with the device:
Settings > Store > View my account > Manage my subscription
Is it possible programmatically to link directly to the Manage…

OneDimensionalmc
- 891
- 2
- 7
- 7
47
votes
8 answers
OpenURL in iOS10
So apparently OpenURL has been deprecated in iOS 10. Does anyone have any documentation on why or can explain what to do next? I looked on the Apple site already and found a few things pertaining to OpenURL and this is what they say to use…

KSigWyatt
- 1,368
- 1
- 16
- 33
46
votes
13 answers
How to use openURL for making a phone call in Swift?
I have converted the code for making a phone call from Objective-C to Swift, but in Objective-C, we can set the type of the URL that we like to open (e.g. telephone, SMS, web) like…

user3739367
- 4,161
- 6
- 20
- 18
42
votes
11 answers
OpenUrl freezes app for over 10 seconds
I'm currently developing an App, that needs to open a browser to display a webpage.
To do that i use the [UIApplication sharedApplication] openURL method with an url.
In iOS 6 this works perfectly, but in iOS 7 it freezes the app for 10+ seconds,…

smoove
- 3,920
- 3
- 25
- 31
38
votes
1 answer
iOS system hangs before opening App Store URL
I have a HTML page with a Download app button. When clicked by an iOS user, it redirect the users to the App Store via itms-services. The link I used here is:
window.location.replace("itms-apps://itunes.apple.com/app/id578505616");
It looks like…

ethangui
- 1,285
- 11
- 15
26
votes
5 answers
How to link to Update page for our app
We prompt users to upgrade their app if they're running an outdated version. When users tap our update button, I use openURL with an address like itms://itunes.apple.com/us/app/our-app-title/id12345?mt=8 to load the App Store app to the listing for…

skypanther
- 975
- 8
- 19
25
votes
1 answer
How to handle UIApplication handleOpenURL with multiple URL's
I have an app that will be using both Facebook and Instagram API's, both of which require me to use this delegate method:
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication…

Kyle Begeman
- 7,169
- 9
- 40
- 58
23
votes
1 answer
opneUrl react-native linking call, mailto
I am trying to open a url ( "tel:061245124" or "mailto:test@test.com") and it says that i can handle url, also tried without the tel: or mail to but it crashes with a red screen.
Urls like "http://test.com" work.
What am I doing wrong?
…

AleXzpm
- 1,024
- 2
- 10
- 22
21
votes
4 answers
iTunes app link cannot open page in safari in simulator and also iDevices
I hope this may be duplicate question. But none of the answers didn't hard help me. I am trying to open a link from my iOS application. When I press the button, It opens the safari app and it always says an alert "Safari cannot open the page because…

Dinesh Raja
- 8,501
- 5
- 42
- 81
19
votes
3 answers
ios 8 openUrl itms-services does not exit current app
In iOS 6 or 7, the app exit to the home screen when I call UIApplication openUrl with a url of itms-services://XXXX to install a new version of my app (using enterprise deployment with ipa files).
In iOS 8, this is no longer the case. Now the app…

Andreas Paulsson
- 7,745
- 3
- 25
- 31
18
votes
2 answers
FBSDKApplicationDelegate application openURL:sourceApplication:annotation deprecated
with iOS9 application openURL:sourceApplication:annotation is deprecated
func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject?) -> Bool {
return…

Mihriban Minaz
- 3,043
- 2
- 32
- 52
17
votes
2 answers
openURL from App Extension
On iOS 8 beta 2 it should be possible to use openUrl from app extension as written into the release notes:
however when I try to use this API (on Xcode 6 beta 2) I get the following error:
Beta 2 really fixed this issue or not?

Massimo Piazza
- 663
- 3
- 7
- 21