A cocoa method on iOS letting developers access other apps from inside an app.
Questions tagged [openurl]
376 questions
4
votes
2 answers
No Sim Card Installed Pop up showing twice in calling feature
I am using calling feature in App . Problem is that if no sim card installed in device then "No sim card installed" Alert view showing 2 times . I am using this code :
if ([[UIApplication sharedApplication] canOpenURL:[NSURL…

Alok
- 24,880
- 6
- 40
- 67
4
votes
1 answer
*67 in phone number for IOS app
I know it is possible to dial an extension after you have dialed a phone number from an app but I am not finding a way to add *67 or call blocking in front of a phone number for my IOS app. I have tried different variations of this but nothing has…

user3728381
- 73
- 5
4
votes
4 answers
Delay when using openURL right after after app launch
I am trying to launch another application using its url handler right on my own app launch.
- (void)applicationDidBecomeActive:(UIApplication *)application
{
NSURL *actionURL = [NSURL URLWithString:@"fantastical2://"];
…

Bernd
- 11,133
- 11
- 65
- 98
4
votes
1 answer
iPhone Smart App Banners - openUrl not called
Hey stackoverflow fellows,
I recently tried to implement the Smart App Banners from Apple.
They work but, I'm not able the get app-argument data in my App.
The App runs on iOS 5, 6, & 7 but I tried iOS 6 & 7 only, too.
Here's my code for…

Sn0wfreeze
- 1,959
- 3
- 18
- 32
4
votes
6 answers
openvpn ios client custom url scheme
My application have iOS OpenVPN Connect app dependency.
So I have to check if the app is already installed or not
if so I will just Open the app using OpenURL scheme else I will open its appstore link so that user will install it.
So my problem…

karthik
- 1,271
- 1
- 14
- 27
4
votes
1 answer
UIWebView - PDF HyperLink's crash
I have a UIWebView and I open a PDF in it. The PDF contains lot of hyper link's, I get a action sheet when I long press it.On pressing the open button in the action sheet and if the hyperlink is a valid URL it opens up in safari and if it is…

Satheesh
- 10,998
- 6
- 50
- 93
4
votes
3 answers
application open Url method not called after user authenticates the facebook
I have upgraded the facebook in my ios app to 3.0 and using the code provided at https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/ for user login through facebook , but the problem is that the after the user allows the…

Singh
- 2,151
- 3
- 15
- 30
4
votes
2 answers
openURL not opening Safari
I am trying to use an action sheet to open safari with a link. The variable is set correct and displays the link accordingly, but for some reason, Safari won't open and I cannot figure out why...
Here's the code:
-(void)actionSheet {
sheet =…

Jon Erickson
- 1,876
- 4
- 30
- 73
3
votes
1 answer
Story link flow using SSO facebook - openURL not being called
I have implemented Single-Sign-On in my iOS 4.3 app successfully. Now I want to publish a link to the users facebook wall so that when his/her friends that also own the app clicks the link they should be redirected to my app. The way I interpret…

pIkEL
- 561
- 6
- 14
3
votes
2 answers
Links inside email message body
I need to modify an existing project. In this project there are several (many) places where the app sends an email with preset text within it. The used function is
[[UIApplication sharedApplication] openURL:[NSURL…

user236739
- 1,323
- 2
- 15
- 21
3
votes
2 answers
Listen to link click in SwiftUI TextView
I have this code below
import SwiftUI
struct MyView: View {
let text = "If you want to know more, ***[Click Here](http://example.com)*** to continue"
@Environment(\.openURL) private var openURL
var body: some View {
…

KANAYO AUGUSTIN UG
- 2,078
- 3
- 17
- 31
3
votes
2 answers
iOS URL Scheme, return to Safari when done
I would like to implement a custom URL scheme similar to how mailto works in Safari. In my html I have a link to my custom scheme (e.g., myapp://parms) which will call my app that has the myapp scheme defined. When myapp is done, I want to return…

sjay
- 101
- 1
- 4
3
votes
1 answer
How to use [[UIApplication sharedApplication] openURL:] open other app?
I followed http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html instruction to open app1(GlassButton) within app2(FontTest).
The open method of FontTest as following:
-(void)open {
BOOL res =…

mobguang
- 245
- 2
- 4
- 15
3
votes
2 answers
How to get true after_destroy in Rails?
I have an after_destroy model callback that regenerates cache after the model instance has been destroyed. It does this by calling open("http://domain.com/page-to-cache") for as many pages as need to be re-cached.
The problem is that the model…

glortho
- 13,120
- 8
- 49
- 45
3
votes
0 answers
iOS openurl for multiple files
I have written like this to accept exported files from other application.
-(BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication
annotation:(id)annotation {
if…

Khant Thu Linn
- 5,905
- 7
- 52
- 120