A cocoa method on iOS letting developers access other apps from inside an app.
Questions tagged [openurl]
376 questions
1
vote
0 answers
Settings app crashes when opened from custom keyboard on iOS 10
I'm trying to open Settings app from custom keyboard extension. It works fine on iOS 11, so the Settings app is being opened with main settings page. However, the Settings app immediately crashes on iOS 10 if it wasn't opened before (i.e. the app…

GeRyCh
- 1,580
- 3
- 13
- 23
1
vote
2 answers
How to open url link by using swift?
i want to go to a url by clicking on button. I tried using 'UISharedapplication'and also through the method below mentioned but none works. Please help.
Thanks.
@IBAction func Displayurl(_ sender: Any) {
UIApplication.shared.canOpenURL(NSURL…

jigar dave
- 39
- 1
- 1
- 11
1
vote
2 answers
Unable to launch native Google Maps within the iOS app - Safari opens instead
I'm having trouble launching a Google Maps app from within the iPhone app. While the app is installed on device, the code launches a Web version of the Google Maps in Safari. On the other hand, Apple Maps native app launches successfully.
Here is…

Richard Topchii
- 7,075
- 8
- 48
- 115
1
vote
1 answer
iOS launching Safari app from your app without passing url
I am launching my app through Safari, that works fine. After doing some task I need to launch Safari back with the current page. I can open safari after passing some url but that I don't wan't to do.
So is there a way through which I can just…

iOsDeVcOdEr
- 13
- 3
1
vote
1 answer
addTarget to button action within nib of collection view
I have a keyboard extension in iOS 11 that includes a collection view of articles coming in from JSON. I have a button in the prototype cell that I would like to allow a user to press to open the article in Safari external to the keyboard. I can get…

Ben Shaw
- 77
- 8
1
vote
1 answer
Xamarin iOS get status back of a phone call
Is there a way to get the call status back after a call is made from an app. I am using following to make a call
NSUrl url = new NSUrl("tel://" + phoneStr);
UIApplication.SharedApplication.OpenUrl(url);
It shows a pop up with "Cancel" and…

User382
- 864
- 19
- 42
1
vote
0 answers
iOS 9 or later,first open other app will show a alert and i can not find the cancel action callback
In iOS 9 or later my app first open another app, it'll tell me 'xx wants to open xx'.when i click cancel i cannot find where is the action call back.
who can help me.

MarcosMang
- 26
- 5
1
vote
2 answers
Swift - Unable to open local file in Safari
I'm unable to open a local file in Safari using Swift's openUrl() function which keeps returning false:
let url =…
1
vote
0 answers
Getting a handle on iOS's alert view controller by tel:// prompt
On iOS, opening a tel link via
func open(_ url: URL, options: [String : Any] = [:], completionHandler completion: ((Bool) -> Void)? = nil)
or the older (for iOS 9 and older)
func openURL(_ url: URL) -> Bool
will make iOS display an…

Mario A Guzman
- 3,483
- 4
- 27
- 36
1
vote
1 answer
-canOpenURL error when checking cydia:// scheme for jailbreak detection
As part of the jailbreak detection I am checking if cydia app can be reached through opening its URL scheme. But I am getting the following error despite I've registered the scheme in info.plist. Any idea what's causing this error?
-canOpenURL:…

Martin Koles
- 5,177
- 8
- 39
- 59
1
vote
1 answer
IOS Calling Phone number with using * and # add in number
In iOS i want to call calling dial pad when I am tried to a normal number and using + and - symbols then it's working good, but when I am trying to add * and # Tag then call dial is not open. Please give me solution how can i do this
Here is My…

Nishant Chandwani
- 11
- 2
1
vote
1 answer
Override canOpenUrl(_:) AppDelegate
I have two apps that communicate with each other via openUrl. I want to be able to check a couple things before opening the second app.
i.e. App1 wants to launch App2. So App2 checks to see if it can open the given URL. If it can, continue with the…

SeanRobinson159
- 894
- 10
- 19
1
vote
1 answer
Using openURL to send an email from Yahoo Mail client
What are the openURL parameters for Yahoo Mail?
"ymail:" appears to work, but it just simply opens up the application. I can't seem to figure out how to pre-fill the recipient address.

Mustafa
- 20,504
- 42
- 146
- 209
1
vote
0 answers
NSTaggedPointerString to unsigned integer
I am trying to parse a URL query component to an unsigned integer. When trying to cast the string extracted from the URL (an NSTaggedPointerString), to unsigned integer, the program crashes with
Terminating app due to uncaught exception
…

ansonl
- 786
- 1
- 13
- 34
1
vote
1 answer
CanOpenURL without add LSApplicationQueriesSchemes
I have a question that I wanna open other apps in my app,
(a MDM Like App),
but after iOS 9,
using CanOpenURL to check other apps need to add Schemes in LSApplicationQueriesSchemes,
I get my apps list on websrevice so I can't add them into plist,
is…

Louis
- 123
- 1
- 3
- 11