A cocoa method on iOS letting developers access other apps from inside an app.
Questions tagged [openurl]
376 questions
3
votes
1 answer
Open and close url in safari using objective-c program
I have to open a URL in safari... and after doing some work on safari I have to close the safari...
my code is as below.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:strPageUrl]];
Actually I have to share video on myspace.. if…

Shivomkara Chaturvedi
- 1,697
- 7
- 28
- 42
3
votes
1 answer
How to open application from browser on Mac OS X?
I'm doing a Twitter Mac OS X app and need to use OAuth1.0. When requesting oauth/access_token interface, is it possible to use the oauth_callback parameter for this purpose?
In other words how to open application from browser on the Max OS X?

user432653
- 115
- 1
- 2
- 7
2
votes
1 answer
RESTFUL url design in handleOpenUrl
One of my main tabs is a uiwebview, which links to resources across the application.
As such, I am building a restful router in my handleOpenUrl. But my regex/obj-c string handling is pretty poor, so i would love to get some help for parsing the…

meow
- 27,476
- 33
- 116
- 177
2
votes
1 answer
Open PDF In SwiftUI
I am making PDF using TPPDF library. This makes the PDF fine and returns a URL which is like this:
pdfURL =…

Taimoor Arif
- 750
- 3
- 19
2
votes
0 answers
SwiftUI .onOpenURL does not call on physical device
I have implemented Universal link on my app using SwiftUI. The below is the snippet code for implementation.
WindowGroup {
ContentView()
.onOpenURL { url in
viewModel.urlFromOnOpenUrl = url
}
}
It works perfectly fine on simulator…

itopstory
- 33
- 2
- 4
2
votes
1 answer
How to open specific tiktok video link in Android?
I basically want my button to open tiktok video link (link should be opened by tiktok app, not default browser or webview) on click. How to program that button in Android Studio?

Rastko Stamenkovic
- 33
- 7
2
votes
0 answers
In react-native, after calling using linking.openURL(tel), not navigating to my app
I am using
onPress={() => Linking.openURL(`tel:+91 {Mobile}`)}
It's calling to {Mobile}
But after call it's not navigating again to my app automatically
how to navigate to my app automatically
2
votes
1 answer
Getting error after openURL on appcelerator Titanium v 9
I'm working on Titanium project build on sdk v9 for ios platform, and I'm getting this error when opening an external url with this function Titanium.Platform.openURL :
[ERROR] : Script Error {
[ERROR] : message = "undefined is not an…

hamza_rhd
- 33
- 5
2
votes
0 answers
Cannot Launch Containing App from Today Widget on Catalina
macOS Catalina 10.15.2
Xcode 11.3 Swift 5
The following code executed in the Widget always returns 'false' in completion:
extensionContext?.open(myAppUrl, completionHandler: { (success) in
if (!success) {
os_log("Failed to open app from…

xnav
- 21
- 3
2
votes
1 answer
Interprocess communication in iOS
We are developing an SDK for iOS which requires different apps on the same device to know each other and pass information between them.. This is required for battery consumption and network usage purposes.
Using custom UIPasteboard is not an option…

TalL
- 1,661
- 16
- 16
2
votes
2 answers
UIApplication.shared.open(_ url: URL,etc.) doesn't open anything
I have added "instagram" to my LSApplicationQueriesSchemes in the Info.plist file but it still doesn't open up neither safari nor instagram when the following function is called:
func openinstagram () {
let instaurl = URL(fileURLWithPath:…

Hergen Lehmann
- 23
- 1
- 8
2
votes
1 answer
IOS - How do I block open one app from another app programmatically?
I'm trying to watch youtube videos in my app's UIWebView itself. Whenever I tap on any of the webpage youtube link, it will automatically redirect into youtube application but youtube's app is also installed in my device. How can I block opening of…

Ravindhiran
- 5,304
- 9
- 50
- 82
2
votes
1 answer
UIApplication.shared.open Add Header Data
I need to open an external link in Safari to a page but the server I'm hitting with the url requires that I need to verify the IP address in a header. How can I pass header data in with UIApplication.shared.open?
There's an option parameter but I…

Marco Chiang
- 159
- 1
- 4
- 15
2
votes
3 answers
Deep linking callback issues in iOS11
I have implemented deep linking in my app using URL schema which is working properly in all versions of iOS except 11. The issue is when I load AppURLSchema:// in the device browser it launches the app but none of the appDelegate methods gets called…

RamChandraReddy
- 239
- 2
- 12
2
votes
1 answer
Can I create a Whitelist for Safari using OpenUrl in Xamarin.Forms?
I am working on a project using Xamarin.Forms as a container app. This app includes several webviews that link to restricted web content. One of these links our Sharepoint site. The Sharepoint site has a link that allows our users to go to a 3rd…

Andy Cottrell
- 23
- 3