Questions tagged [openurl]

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

376 questions
3
votes
0 answers

Open HomeKits X-HM:// URL sheme

I'm creating an App with the HomeKit SDK and I'd like to add an uncertified accessory programmatically. My goal is to build a user-friendly and convenient pairing process without having a printed QR-code or NFC ready accessory. I'd like to hand on…
user3191334
  • 1,148
  • 3
  • 15
  • 33
3
votes
0 answers

Selenium taking too much time to load url

When i load the url in browser manually then it opens very fast but using selenium to open same url taking too much time to load. Can any one help me why this is happening? driver=BrowserFactory.startBrowser("chrome", "www.abc.com"); LoginPage…
Santosh
  • 61
  • 3
3
votes
1 answer

canOpenURL for opening other Apps - Not working on simulator

I'm trying to open Yelp from within my App that has a deployment target of 8.1 The problem I'm facing is my code is not properly evaluating on the simulator. My device is iOS 10.3, and it works fine on there (Yelp opens), but I need to be able to…
Joe
  • 3,772
  • 3
  • 33
  • 64
3
votes
1 answer

How to open default music app into my application ios 10

Based in this link. Works perfect but me in old ios versions, but in ios 10 not works. This is my code: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"music://"]]; I'm testing with [[UIApplication sharedApplication]…
jose920405
  • 7,982
  • 6
  • 45
  • 71
3
votes
1 answer

How to use URL Scheme to share data between two apps without openURL method?

I have App A and App B. Here I just want to share text data from A to B and for that I doing following code. In A : UIApplication.sharedApplication().openURL(NSURL(string: "B://sample_text")!) In B : func application(application:…
Sunil Targe
  • 7,251
  • 5
  • 49
  • 80
3
votes
3 answers

facebook openurl for login in ios 9 method ios swift

I have both facebook and gmail integration in my app but as soon as I add the open url function for gmail login the facebook login stops working. I have this code for open url in my app func application(application: UIApplication, openURL url:…
Arun K
  • 810
  • 2
  • 12
  • 33
3
votes
0 answers

UIApplication OpenURL crash with 0x000000008badf00d

I have very strange crash with OpenURL on iOS 9.3.x. The pipeline is the following: on applicationDidBecomeActive i call the method, which calls method on different thread on those thread i call openURL: Application crashes after call to…
Doro
  • 2,413
  • 2
  • 14
  • 26
3
votes
2 answers

NSURL Throws nil exception using mailto:

I was trying to open mail on UILabel click event. But its throws fatal error: unexpectedly found nil while unwrapping an Optional value. Code used: func sendMail(sender:UITapGestureRecognizer){ print("mail::" + self.lblMail.text!) //…
user2695433
  • 2,013
  • 4
  • 25
  • 44
3
votes
2 answers

UIPasteboard size

this is no longer relevant since iOS4+ - so please stop downvoting! or at least explain your downvotes I am trying to do an upgrade path for a lite to full version of an application, that can store an indefinite amount of data (I dont want to do in…
Nick Hingston
  • 8,724
  • 3
  • 50
  • 59
3
votes
0 answers

iOS9: Cannot open http link with Safari from 'openurl' method

I cannot open the http link with Safari using 'openurl' method, if Safari is not opening in the background. But if Safari is running in background process, the app can open the http link with Safari successfully. I am not sure whether this is one of…
Thanachao
  • 33
  • 1
  • 4
3
votes
1 answer

openURL:sourceApplication vs didFinishLaunchingWithOptions with UIApplicationLaunchOptionsURLKey

I understand didFinishLaunchingWithOptions returns UIApplicationLaunchOptionsURLKey when launching my app from another application. I also understand that openURL:sourceApplication returns a URL passed when calling my app from another application,…
cohen72
  • 2,830
  • 29
  • 44
3
votes
1 answer

openURL: with a NSURL containing a formatted NSString isn't working

To open Google Maps with directions, i'm using a formatted NSString inside a NSURL. But it doesn't work with [[UIApplication sharedApplication] openURL:nsurl]; code: NSString * directionsURL = [NSString…
Joost
  • 113
  • 1
  • 6
3
votes
1 answer

Unity send SMS message

I'm currently using Unity for developing an application for Android and IOS and I'm able to use the function: Application.OpenURL("mailto:" + email_address + "?subject=Email&body=msg from Unity"); to send emails from within my application, and I…
Ice Phoenix
  • 1,001
  • 3
  • 16
  • 34
3
votes
0 answers

Opening a link from a UITextView in a UIWebView in another ViewController

Ok so the project that I'm working on has a twitter feed that I put into a table I put the main part of the tweet in a UITextView. I want it to be able to open links in the text in a UIWebView. I managed to intercept the open url call by using the…
3
votes
2 answers

Sending # & * in tel: URIs in iOS 5+

Just recently we've noticed that calling [[UIApplication sharedApplication] openURL:url] with a tel: URI containing # or * characters is now permitted to be dialed in iOS 5.1. e.g. NSURL *url = [NSURL URLWithString:@"tel:15555551212,,1234#"]; The…
Rob
  • 123
  • 1
  • 7