url-scheme

How iOS handle URL scheme duplication?

僤鯓⒐⒋嵵緔 提交于 2019-12-03 12:32:44
If 2 other app register same url scheme, how iOS handle this? It will present an UIActionSheet view allowing the user to choose which app to launch (good example are apps that handle .doc files). That's where the icon you specify is used - on the action sheet buttons when it's shown to the user The iOS Documentation reads: Note: If more than one third-party app registers to handle the same URL scheme, there is currently no process for determining which app will be given that scheme. The OSs behaviour is undefined if there are two apps registered for an URL scheme, therefore you should try to

Open activity without showing UIActivityViewController

末鹿安然 提交于 2019-12-03 11:58:21
问题 I want to be able to have social icons in a scrollView, which when clicked, functions the same way it would if I had clicked on them after presenting a UIActivityViewController. I don't want to present a UIActivityViewController. I know it shouldn't be possible, but an app called Yodel does this (or something similar) and I want to do the same. Clicking on the icons in Yodel works exactly the same as it would in a UIActivityViewController, so it seems they have somehow put it inside a

In Xcode, under Info tab, what's Role for in URL Types section?

别等时光非礼了梦想. 提交于 2019-12-03 10:38:54
问题 In Xcode, under Info tab, what's Role dropdown in URL Types section for? The valid value for this is Editor, Viewer, None. 回答1: It represents what your app can do with the URL / file type. Editor == read and write. Viewer == read only. None == can't use at all. This flag isn't used by iOS. 来源: https://stackoverflow.com/questions/16598352/in-xcode-under-info-tab-whats-role-for-in-url-types-section

iOS 11 URL Scheme for specific Settings section stopped working

≡放荡痞女 提交于 2019-12-03 09:08:43
问题 My app uses a URL scheme to take users directly to Settings/General/About section, the following URL was working fine in 10.3.x. "App-Prefs:root=General&path=About" However, this URL scheme no longer works in iOS 11 GM build. It only launches the Settings app, but doesn't take user any further. Does anybody know if this is expected in iOS 11 official release? Thanks in advance. 回答1: let url = NSURL(string: "app-settings:root=Privacy&path=LOCATION")! as URL UIApplication.shared.open(url,

get all iOS url schemes on device

大憨熊 提交于 2019-12-03 08:19:48
问题 Is there a way to get all the url schemes of all the apps on a device? There has to be a central repository of them somewhere, maybe a plist? 回答1: Adding my solution in case someone is still looking. After spending some time researching the answer, I finished off on a mix between @danielbeard's and @Avis' solution. Because I know what application I am looking for: Download the .ipa from iTunes using my computer Copy the application to my desktop Rename it to *.zip Extract the *.zip Open the

OS X System Preferences URL Scheme

限于喜欢 提交于 2019-12-03 07:38:14
问题 I’m trying to open the Notifications preference pane (in OS X SystemPreferences.app) via a link. The prefix x-apple.systempreferences:// works so far for opening the system preferences app, but I’d like to open the notifications pane directly and (in the best case) even select my app in the list. Does anybody know whether the SystemPreferences.app does take any arguments when opened via its URL-Scheme? I already tried x-apple.systempreferences://Notifications and x-apple.systempreferences:/

Is there an href attribute for skype, like “mailto:” or “tel:”?

被刻印的时光 ゝ 提交于 2019-12-03 04:00:50
问题 I am looking to make a skype link for a mobile site, is there a way use <a href=" to make it launch skype and add or call a user? 回答1: If your mobile site is (generally) used by iOS devices, you can use : <a href="skype:YourSkypeName?call">Call me on Skype</a> Apple iOS devices automatically recognizes intents in link with Skype and FaceTime. 回答2: You can use skype:<username|phonenumber>[?[add|call|chat|sendfile|userinfo]] or callto:<screenname|phonenumber> , according to this wikipedia page:

How to take the parameter from URL scheme.

微笑、不失礼 提交于 2019-12-03 03:58:34
I am using URL scheme in my iPhone app,from a page I switch user to safari,and a button click from Web page,I am reverting back to app At that time ,some parameters are passed by the web page like myapp://parameter=1 How can I find this parameter from my app ? I have placed a break point in -(BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)ur but while revert back.it is not get called. You can use this url host to find out the parameters, where parameters could be of any kind, anything after http:// or custom tag custom:// will be caught in the following code NSString

How to detect if Facebook app is installed on iOS? [duplicate]

假装没事ソ 提交于 2019-12-03 01:34:29
This question already has an answer here: How to check programmatically if an App is installed? 6 answers How can I determine if a user has an iOS app installed? 4 answers On iOS, you can launch the Facebook app and link to a profile by opening a url like this: fb://profile/12345 The only problem is that if the Facebook app isn't installed, nothing happens. Is there a way to detect if the app is installed or if the url scheme fb:// is supported? This would apply broadly to other apps like Twitter as well. BOOL isInstalled = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@

Universal links on iOS vs. deep links (URL schemes)

孤街醉人 提交于 2019-12-03 00:33:33
问题 As I'm reading, iOS 9 introduced Universal Links. In the "Support Universal Links" section in Apple's App Search Programming Guide, it says that this is not exactly like deep linking with URL schemes, but I'm not totally clear about this topic: What is actually the difference(s) between Universal Link and the URL Schemes? Is it that a Universal Link is only for hyperlinks in websites, and the Mail or Messages apps? Do Universal Links replace URL schemes? Are Universal Links a type of deep