A cocoa method on iOS letting developers access other apps from inside an app.
Questions tagged [openurl]
376 questions
0
votes
1 answer
UIApplication openURL can not open a url
I'm trying to implement a job search App. The results are shown to the user in a UITableView.
When a user clicks on a cell, it should open the original Job announcement.
To do this, i implemented the following method:
- (void)tableView:(UITableView…

Zer0
- 113
- 10
0
votes
2 answers
Opening Phone app using button title
I have a UIButton with a telephone number as a title.
Will this code open the phone app with the title number?
- (IBAction)callContact:(id)sender
{
[[UIApplication sharedApplication] openURL:
[NSURL…

user1330343
- 21
- 2
- 7
0
votes
1 answer
Strange UI behaviour when app is opened with a URL Scheme
The easiest way for me to explain this is to upload a test app, so I've stripped out everything that is unecessary and uploaded a bare bones project to SendSpace.
http://www.sendspace.com/file/z86g0z
I'm writing an app that will receive custom URL's…

Plasma
- 2,622
- 2
- 20
- 35
0
votes
1 answer
alternative to openUrl for sms and calling
Is this is the only way to open a dialer to call or msg.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"tel:+%@",phoneNumber]]];
if yes. then will this support from ios3 to ios6 (beta).
if no. then can…

Irshad Mohamed
- 2,129
- 1
- 18
- 19
0
votes
1 answer
Open installed apps in iPhone device
Is it possible to open an iPhone app by just knowing app name like follows?
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"AppName://"]];
Or should i use some other way?

OneDerr Siva
- 207
- 3
- 14
0
votes
3 answers
How to return to app after openURL
in my app I need to open a url by using
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"urlstring"]];
after a certain process in the page how can i return to the app.(like facebook doing for safari authentication)

Johnykutty
- 12,091
- 13
- 59
- 100
0
votes
2 answers
why use openURL open the google map can't find the address
I create a UITextView and set text=@"中国,浙江省杭州市滨江区",
set dataDetectorTypes=UIDataDetectorTypeAddress,
then,long pressed, choose open map, it can found the address in GoogleMap.
But, the same address, i used openUrl can't find the address.
NSString…

avincross
- 11
- 4
0
votes
1 answer
Read json returned by 400 error clojure
I have a web-service that reply at some get request, something like this:
http://developer.echonest.com/api/v4/artist/reviews?api_key=N6E4NIOVYMTHNDM8J&id=ARH6W4X1187B99274F&format=json&results=1&start=2
if a parameter in the request is…

Siscia
- 1,421
- 1
- 12
- 29
0
votes
1 answer
tel in openURL not working properly
In my app I want to call to selected number. For this I have following code
+(void)makeCallToSelectedContact:(NSString*)phoneNo{
NSMutableString *phoneNumber = [NSMutableString stringWithString:phoneNo];
[phoneNumber…

iOSAppDev
- 2,755
- 4
- 39
- 77
-1
votes
1 answer
How to create iphone app to call via wifi/3g (VoIP)?
I want to developed an iphone app, allow to call via wifi/3g.
Please provide me example statement to:
How to Client send request to sip provider?
How to Sip provider establish a connection to other Client?
thanks,

HaiTran
- 3
- 1
-1
votes
1 answer
See if another app is downloaded Xcode Objective-C
I am adding a few location to my app. I have it where it defaults opening these locations in Apple maps. But I want to make it where if the user has Google maps downloaded they will have the choice to open it in Google maps. So how do I get Xcode in…

Josh Kern
- 3
- 2
-1
votes
1 answer
Open an installed app by click on button
My app is called Labmed, where a button will appear to open the "LAB Befund" App.
If "LAB Befund" is already installed, open the app, instead of going to the AppStore.
Code:
NSMutableDictionary *dic = [NSMutableDictionary dictionary];
[dic…

Cyu.
- 81
- 1
- 1
- 7
-1
votes
1 answer
openURL is not working for system schemes on iOS 9
openURL is not working on iOS 9 for system schemes like http, tel, telprompt after compiling via Xcode 7, same code works fine on iOS 8, canOpenURL always returns YES.
Any suggestions?
Thank you!
NSURL *testURL = [NSURL…

instback
- 131
- 2
- 15
-2
votes
1 answer
Fails to open URL
I've got the following code:
let reachUrl = "https://helpers.pythonanywhere.com/load-data/announcements?key=\(key)&data=[\"\(nameTF.text!)\", \"\(infoTF.text!)\", \"\(pickerView.selectedRow(inComponent: 0))\"]"
…

aadev151
- 141
- 1
- 8
-2
votes
2 answers
No visible @interface for 'UIApplication' declares the selector 'openUrl:'
What the heck am I missing here??? I keep getting
No visible @interface for 'UIApplication' declares the selector 'openUrl:'
#import "ViewController.h"
@interface ViewController ()
@property (strong, readwrite, nonatomic) IBOutlet UIWebView…

Harvey Dent
- 11
- 1
- 1