Questions tagged [openurl]

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

376 questions
1
vote
2 answers

How to open a document URL in default ios APP using Swft 3?

I have a url document url list in a TableViewController` like this one https://lists.w3.org/Archives/Public/uri/2004Nov/att-0015/App-Note-UseOfTheFileURLInJDF-031111.doc and on TableViewCell selection this doc file should open in any default…
Varun Naharia
  • 5,318
  • 10
  • 50
  • 84
1
vote
2 answers

Swift 2.3 Button to open URL failing with error unrecognised selector

I have created a button to open url links and am failing with an unrecognised selector error. I would normally set the add target to be self just through how i have read online, but for this particular instance i get the error: cannot convert value…
Darren
  • 231
  • 1
  • 2
  • 7
1
vote
2 answers

iOS How to exit current app after using UIApplication openURL to launch a browser

I am very new to iOS development. The app I need is very simple: just open a web browser and go to a specific URL when my app is launched. So in the delegate file, in didFinishLaunchingWithOptions, I add a line of code: [[UIApplication…
Ray
  • 11
  • 1
  • 2
1
vote
1 answer

"prefs:root=CASTLE" not working to open iCloud Settings in IOS10?

In my app I have an alert view that has an option to open the iCloud section of the IOS Settings app. This previously worked on IOS8/9 (Swift 2): let settingsCloudKitUrl = URL(string:"prefs:root=CASTLE") if let url = settingsCloudKitUrl { …
Leontien
  • 612
  • 5
  • 22
1
vote
0 answers

Determining Ability of Device to Make Phone Call (including with Continuity)

I have been trying to determine whether a device is able to make a phone call, including with the new iOS9 Continuity features which allow iPads to make phone calls when connected to an iPhone. Presently my code looks something like this: NSURL…
trumpeter201
  • 8,487
  • 3
  • 18
  • 24
1
vote
1 answer

Delphi 10 OpenURL on IOS

I am using Delphi 10 In older RAD Studio Versions for iOS it was possible to use openURL with SharedApplication in Apple.Utils.pas But Apple.Utils.pas cannot be found, in what unit can I find SharedApplication and openURL ?
user5775380
1
vote
1 answer

Application open url is not working in ios 9.2. why?

I need to open facebook page in native App by using open url fb:// It doesnt work in ios 9.2 please help!
Jose
  • 31
  • 6
1
vote
2 answers

Find My iPhone app url scheme

Does the 'Find My iPhone' app have a published URL scheme that can be used to launch the app from another app? I found the same question being posed a few years back: openURL to find my iPhone. Was wondering if there might be a url scheme available…
1
vote
0 answers

Tab bar image not working

I need your help here. My app has 5 tab bars. The first tab bar's image will be missing after make a phone call using openURL. And this is only happen when running the app in iOS 8/9. Below is the coding where I make a phone…
Kit
  • 11
  • 1
1
vote
1 answer

Calling openURL from Today widget opens the app but does not call application:openURL:sourceApplication:annotation:

I set a Today Extension for my containing App. Here is the code: TodayViewController: [self.extensionContext openURL:[NSURL URLWithString:[NSString stringWithFormat:@"idaxiang://action=%ld",(long)aCell.tag]] completionHandler:^(BOOL success)…
KittenYang
  • 11
  • 3
1
vote
1 answer

application:openURL:sourceApplication:annotation: not called when there is a MainWindow.xib

I've sifted through the various other posts regarding openURL not being called and none of them apply to my case, so here's another. I am trying to implement deep linking. I am able to open the app from a link, so my url scheme works. However, the…
danadana
  • 21
  • 5
1
vote
1 answer

Open Container App from Share Extenion

So I've found that the you cannot open URLs (and therefore deeplinks) from Share Extensions in iOS. But I'm wondering if there is any way to open the container app of the extension. For instance, in my app the share extension will only work if you…
julianwyz
  • 3,104
  • 1
  • 29
  • 34
1
vote
1 answer

UIButton not working after openURL in ios 7

I have multi share buttons which call openURL. After the fisrt button pressed, it opens Safari for sharing, and when I go back to my app, all buttons do not work. (only iOS 7.1, but iOS 8 works fine) Here below is my code: -…
Ninh
  • 159
  • 1
  • 10
1
vote
0 answers

Can't open my channel on youtube from application

I use this code for open my channel: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.youtube.com/user/myChannel"]]; If I paste this string to Safary, everything is great. If Safary was opened everything is great Too.…
Nuzhdin Vladimir
  • 1,714
  • 18
  • 36
1
vote
0 answers

Open big files with SSZipArchive leads to crash

My app is crashing when I'm opening a .zip file and unzipping it with SSZipArchive. I think this happens due to memory pressure because it is not crashing when monitored by Instruments or executed by the debugger. Is there a chance to "slowly" unzip…
TomWayne
  • 230
  • 2
  • 11