Questions tagged [openurl]

A cocoa method on iOS letting developers access other apps from inside an app.

365 questions
172
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
79
votes
8 answers

OSX Swift open URL in default browser

How to open a url in system default browser by using Swift as programming language and OSX as plattform. I found a lot with UIApplication like UIApplication.sharedApplication().openURL(NSURL(string: object.url)) but this works just on iOS and not…
user2929462
  • 803
  • 1
  • 6
  • 5
78
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,241
  • 5
  • 26
  • 36
48
votes
8 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…
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,347
  • 1
  • 17
  • 31
44
votes
12 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
  • 3,591
  • 6
  • 16
  • 17
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,710
  • 3
  • 23
  • 30
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,125
  • 10
  • 15
24
votes
4 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
  • 925
  • 7
  • 17
24
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,019
  • 9
  • 37
  • 57
20
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,345
  • 5
  • 40
  • 78
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,547
  • 3
  • 22
  • 30
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,005
  • 2
  • 30
  • 51
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
16
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
  • 744
  • 2
  • 8
  • 20
1
2 3
24 25