openurl

iOS : Touch Id is not shown when AppDelegate's open url is invoked

假装没事ソ 提交于 2020-08-09 19:33:55
问题 My App supports opening documents like images, pdfs from other apps. Tocuh Id is implemented as shown below, it is requested when app comes to foreground NotificationCenter.default.addObserver(forName: .UIApplicationWillEnterForeground, object: nil, queue: .main) { (notification) in LAContext().evaluatePolicy( .deviceOwnerAuthenticationWithBiometrics, localizedReason: "Request Touch ID", reply: { [unowned self] (success, error) -> Void in if (success) { } else { } }) Now requesting for Touch

iOS : Touch Id is not shown when AppDelegate's open url is invoked

元气小坏坏 提交于 2020-08-09 19:32:25
问题 My App supports opening documents like images, pdfs from other apps. Tocuh Id is implemented as shown below, it is requested when app comes to foreground NotificationCenter.default.addObserver(forName: .UIApplicationWillEnterForeground, object: nil, queue: .main) { (notification) in LAContext().evaluatePolicy( .deviceOwnerAuthenticationWithBiometrics, localizedReason: "Request Touch ID", reply: { [unowned self] (success, error) -> Void in if (success) { } else { } }) Now requesting for Touch

iOS : Touch Id is not shown when AppDelegate's open url is invoked

落花浮王杯 提交于 2020-08-09 19:31:59
问题 My App supports opening documents like images, pdfs from other apps. Tocuh Id is implemented as shown below, it is requested when app comes to foreground NotificationCenter.default.addObserver(forName: .UIApplicationWillEnterForeground, object: nil, queue: .main) { (notification) in LAContext().evaluatePolicy( .deviceOwnerAuthenticationWithBiometrics, localizedReason: "Request Touch ID", reply: { [unowned self] (success, error) -> Void in if (success) { } else { } }) Now requesting for Touch

Open HomeKits X-HM:// URL sheme

∥☆過路亽.° 提交于 2020-06-27 16:35:19
问题 I'm creating an App with the HomeKit SDK and I'd like to add an uncertified accessory programmatically. My goal is to build a user-friendly and convenient pairing process without having a printed QR-code or NFC ready accessory. I'd like to hand on the pairing pin / pairing URL programmatically, so the user doesn't need to worry about any codes. I've already set up the HMAccessoryBrowser and it finds the accessory fast and reliable. So far I've the HMAccessory object as well as a valid pairing

How to open a new spreadsheet from an existing spreadsheet using a button (on Client Side)?

不羁的心 提交于 2020-01-25 08:48:04
问题 I am trying to make a button in a Google spreadsheet which points to another spreadsheet. The Spreadsheet.OpenbyUrl() opens the spreadsheet on the Server side and not the client side. Can anyone Help?? function open() { SpreadsheetApp.openByUrl('xxx'); } 回答1: Using a button, you can only call a server function. And server functions can not open a tab or window in your browser. That's a no go. But you can have a button (or a menu item) that will open a dialog box with a link in it. That link

can't dial call from programmatically in iphone

佐手、 提交于 2020-01-06 08:13:28
问题 I have done call programmatically like this. NSString *phoneNumber = [[self.arrCategory objectAtIndex:0]objectForKey:@"MOBILE"]; NSString *phoneURLString = [NSString stringWithFormat:@"tel:%@", phoneNumber]; NSURL *phoneURL = [NSURL URLWithString:phoneURLString]; [[UIApplication sharedApplication] openURL:phoneURL]; but I can't do call from iphone. What is the problem? 回答1: now just replace this code with your code , may be its occurred because in phoneno or phone url somewhere whitespace is

openURL to find my iPhone

心已入冬 提交于 2020-01-03 04:55:11
问题 I was wondering if it's possible to open the "find my iPhone" app from my own app with openURL, but can't figure the url scheme it has. Anyone can help me with this or is it a useless task? I've managed to open some third party apps and also some of the Apple apps (for instance open a book on the iBookStore) but I've been trying to open this "Find my iPhone" with no successs. Any hints? 回答1: There are complete websites collecting iPhone URL schemes, for example this one. But for "Find my

iPhone Smart App Banners - openUrl not called

妖精的绣舞 提交于 2020-01-02 07:20:16
问题 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 the Banner: <meta name="apple-itunes-app" content="app-id=688798564, app-argument=http://app.heimwerker.de/2" /> This is my implementation: -(BOOL)application:(UIApplication*)application openURL:(NSURL*)url sourceApplication:NSString*)sourceApplication

application open Url method not called after user authenticates the facebook

隐身守侯 提交于 2020-01-01 11:49:33
问题 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 facebook access the - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation method is not being called. But the interesting part is that when i create a new

Link to app manage subscriptions in app store

折月煮酒 提交于 2019-12-31 08:28:11
问题 Currently with In app purchase the only way to cancel an auto-renewing subscription is to do the following with the device: Settings > Store > View my account > Manage my subscription Is it possible programmatically to link directly to the Manage my subscription page in the app store? I know I can open the app store via something like NSURL *url = [NSURL URLWithString:@"itms-apps://itunes.apple.com"]; [[UIApplication sharedApplication] openURL:url]; I have seen other apps do this but I can't