Questions tagged [openurl]

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

376 questions
5
votes
2 answers

canOpenURL when returns false prints out an unnecessary error message

I am using canOpenURL to open the app if installed in the device. And added the LSApplicationQueriesSchemes to whitelist the Schemes. But when canOpenURL returns false It always prints out an unnecessary error message in the console log. Below is…
am449
  • 158
  • 11
5
votes
1 answer

Cannot open URL from notification action handler

I am trying to handle local notifications by opening a URL on iOS 10 / Swift 3. I have one URL assigned to the notification's default action and another assigned to a custom action button. When the default action is triggered (tapping on the…
5
votes
1 answer

iOS UIApplication openURL Very Slow

I've seen this similar question: OpenUrl freezes app for over 10 seconds but it isn't dealing with my specific use case of changing a second application's install state, and none of the solutions listed there have fixed my problem, so I'm opening…
Adam Eisfeld
  • 1,424
  • 2
  • 13
  • 25
5
votes
2 answers

Open URL and return to shell

I'm running a script on python 3 that opens a URL using webbrowser.open() and immediately requires an input from the user. The problem is that the active window is now that of the browser instead of the python shell and an Alt-Tab or click is always…
dinos66
  • 686
  • 6
  • 15
4
votes
2 answers

QDesktopServices::openUrl with selecting specified file in explorer

In most coding programs, you can right click on the item and click show in explorer and it shows the file in explorer with the item selected. How would you do that in Qt with QDesktopServices? (or any way to do it in QT)
Geore Shg
  • 1,299
  • 5
  • 23
  • 38
4
votes
1 answer

Merely declaring the environment variable openURL cause popover behavior to go wonky

As demonstrated in the sample code below. The popover appears correctly when run without declaring the openURL variable. Uncomment the lines and it appears in the incorrect spot and refuses to be dismissed. I could really use a…
Rumbles
  • 806
  • 1
  • 8
  • 15
4
votes
1 answer

How do I make my app show up in "open-in"-menu for plist-files in ios13?

I updated to iOS 13 and now my app won't show up in the new "Open In..."-dialogs anymore. I previously did the following to get my app to show up there, if the opened file was a .plist file: I edited the Info.plist like in the screenshot below. In…
LarsGvB
  • 267
  • 3
  • 11
4
votes
4 answers

How do I link http url to flutter-web

I'm learning flutter web. I'm trying to open another url when button is clicked. Is there any way like this: onclick: ()=>openurl("https://test.com") How can I achieve this? Please help
Mandip
  • 59
  • 1
  • 4
4
votes
3 answers

openUrl not being called when I launch the app from Scheme Url

This may be a newbie question. When Application in the background and I click the scheme URL (something like "myApp://blabla") to launch the app, open url methods work fine. No problem. But when the app doesn't in the background or killed by…
GreatCornholio
  • 97
  • 2
  • 16
4
votes
2 answers

Difference between openURL & canOpenURL

i need to open a link in safari browser but i have doubt, which method should i use ? openURL/open or canOpenURL. Can anyone please help me to explain what actual difference between both function? if #available(iOS 10.0, *) { …
MAhipal Singh
  • 4,745
  • 1
  • 42
  • 57
4
votes
2 answers

Prompt when trying to dial a phone number using tel:// scheme on iOS 11

I am facing an issue, while trying to start a phone call from my iOS app using: UIApplication open(_:options: completionHandler:) iOS shows an confirmation popup/alert before starting the call with two button Call & Cancel and CompletionHandler…
Rajender Kumar
  • 1,377
  • 19
  • 32
4
votes
2 answers

Redirect to Settings root page in ios 8, 9 and 10

My question has been asked a lot of time and till now hasn't got a solution. I'm trying to open Mobile data page from app. 1) I've tried [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]] In iOS 8…
da32
  • 703
  • 1
  • 9
  • 18
4
votes
3 answers

Refresh Safari page with openURL:?

I am opening a web page in Safari using openURL: method, but if that page is already open in Safari and I call openURL:, iOS display the already opened page. It should refresh or should get open in new tab. Is it possible?
Aashish Nagar
  • 1,207
  • 1
  • 14
  • 30
4
votes
4 answers

Restarting iPhone application after [UIApplication sharedApplication] openURL

As title says I'd like to know how to restart my iPhone app after doing this: [[UIApplication sharedApplication] openURL:[NSURL UrlWithString:@"tel://0123456789"]] It seems pretty simple as I saw many topics also talking about restoring the very…
Jukurrpa
  • 4,038
  • 7
  • 43
  • 73
4
votes
3 answers

How to manage openUrl method inside called application in iOS?

I suppose that this is duplicate but I can not figure it out. I have to call other app from my iOS app using openUrl method. After finishing its work the other app must return to my app using the same method. I figure out how to call the other App…
new2ios
  • 1,350
  • 2
  • 25
  • 56