Search results for

file uri scheme

78,889 results found

Post

Replies

Boosts

Views

Activity

Reply to ASWebAuthenticationSession + https iOS <17.4
If you want a callback URL that starts with https, you must use the .https(...) callback type, which is only available on iOS 17.4 and later. Prior to this, ASWebAuthenticationSession required the use of a custom scheme (i.e. a scheme that's not http/https). For example, your callback URL in that case might look like myapp://auth/callback. Some services may warn against using custom schemes, as they may have security difficulties on some platforms. This is because, unlike https callbacks, any app could claim the myapp:// scheme, potentially resulting in your auth callback going to the wrong app. However, ASWebAuthenticationSession was specifically built to mitigate this concern, ensuring only your app will receive callbacks for that scheme when it's opened via ASWebAuthenticationSession.
Topic: Privacy & Security SubTopic: General Tags:
Apr ’25
Reply to UIWebViewNavigationTypeLinkClicked is not triggered in iOS 11 beta softwares
if (navigationType == UIWebViewNavigationTypeLinkClicked) { if ([[[request URL] scheme] isEqualToString: @file]) { NSArray<NSString*>* components = [request.URL.absoluteString componentsSeparatedByString:@#]; if (components.count == 2) { NSString* anchor = components.lastObject; NSString* code = [NSString stringWithFormat:@el = document.getElementsByName(%@)[0]; if (el) el.scrollIntoView();, anchor]; (void) [webView stringByEvaluatingJavaScriptFromString:code]; return NO; } } return YES; }
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’17
In Xcode's build phases section is it possible to enable/disable compile flags bases on scheme
If an Xcode project has some compiler flags set in Build Phases / Compile Sources, then is it possible to have those enabled if scheme A is selected and disabled if scheme B is selected. Same question for things in Build Settings, such as Other Compiler Flags. I suppose it could be achieved by having two targets, one with things enabled and one without, but for a very large complex project, duplicating targets is not necessarily an easy thing to do.
1
0
70
May ’25
iOS 9 LaunchServices: ERROR: There is no registered handler for URL scheme itms-services
We have some in-house apps and before iOS 9, the apps will open a link like itms-services:// after version compare, the new version apps will be downloaded and install.But after we tested on iOS 9, we found the apps cannot open the link itms-services:// link, got error like LaunchServices: ERROR: There is no registered handler for URL scheme itms-servicesThe code we used to update the app:let downloadUrl = NSURL(string: url)UIApplication.sharedApplication().openURL(downloadUrl!)We have tested put itms-services, itms-services:// and the full URL into LSApplicationQueriesSchemes in plist file. But still not work.
1
0
4.9k
Sep ’15
Reply to "Active scheme does not build this file" Problem
I think you only get this error when you're trying to preview, say, an iOS Home Screen widget but your active scheme is for something else, like a watchOS target. If you're previewing something in an iOS target, make sure to select the scheme that builds the iOS target. If you're trying to preview a watchOS target, select the watchOS scheme, etc.
Jan ’24
Reply to Trouble Testing IAP with Sandbox
UPDATE: I've viewed a WWDC22 video (What's new in StoreKit testing) which says to create a second storekit configuration file syncing it with the in-app purchase defined in Apple Store Connect. The new read-only file is indeed syncing; but, it is STILL NOT WORKING.A print statement to the console, says that, in sandbox mode, requestProducts() in the Store manager is unable to find any products (though it works as expected when the scheme is reading either of the local store kit config files).
Topic: App & System Services SubTopic: StoreKit Tags:
Feb ’23
AssetCacheLocatorService does not support HTTPS URL schemes for PAC
With the release of iPadOS 17 we began noticing that the AssetCacheLocator service on iOS/iPadOS was reliably returning a no caching server response even when we had active caching servers on the network. default 2023-09-27 18:40:17.970429 +1000 AssetCacheLocatorService #11553fbd [AssetCacheLocatorService.queue] found no caching servers This behaviour was also apparent during the beta releases of iPadOS 17 but vanished around beta 8 before returning during the production release. For a bit of back story our network environment makes use of proxy servers which devices are configured to use via PAC discovery methods. Either via specifying a pac url in config payload or via auto-discovery means via DHCP option 252 or dns. We have been compliant with https PAC file delivery since it was first brought in for the iPadOS 15 release. After continued testing the behaviour was being cause by a failure in the trust daemon to validate certificates used in SSL handshakes for the AssetCacheLocatorService. This wou
0
0
1k
Oct ’23