Search results for

file uri scheme

78,503 results found

Post

Replies

Boosts

Views

Activity

Using Settings.app URL scheme
Hi all!We're going to let users launch Settings.app from our application, so is it possible to add URL scheme prefs to our application URL types?Is it private API or not? Will we get rejected in AppStore review for using that?let url = NSURL(string: prefs:root=Settings) UIApplication.sharedApplication().openURL(url!)
Topic: UI Frameworks SubTopic: UIKit Tags:
7
0
10k
Oct ’15
URL scheme does not always work
Good day team,I've faced s weird problem while updating to xCode 7.3.1.I've registered my URL Scheme to my app but when I launch Safari it works only for the first time, I run it again I got the error:-Invalid AddressThere is a strange walk around I tried and works that I've to refresh Safari page (ex. navigates to http://www.apple.com) then reenter my url scheme again and it works.But I can't launch the app like that.Any suggestions?
0
0
284
Aug ’16
Reply to Xcode randomly modifies my scheme content
I don't claim to know what all the XML means but the change happens in my watch app schemes when I switch the selected device between the simulator and a real watch. When I select the simulator, BuildableProductRunnable is in effect but when I select a real watch, RemoteRunnable is in effect. It's almost as if the scheme has to change to allow remote debugging when using a real watch. So the state of the scheme files depends on the device selected when you last built in Xcode.
Dec ’20
Reply to AVAssetDownloadTask not working in iOS 13 beta
The file I implemented has the required properties written but still doesn't work.clip_145.m3u8#EXTM3U #EXT-X-VERSION:3 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=English,LANGUAGE=en, DEFAULT=NO, AUTOSELECT=YES, URI=en.m3u8 #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=Korean,LANGUAGE=ko, DEFAULT=NO, AUTOSELECT=YES, URI=ko.m3u8 #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=Romanization,LANGUAGE=rz, DEFAULT=YES, AUTOSELECT=YES, URI=rz.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=295240,AVERAGE-BANDWIDTH=251002,CODECS=avc1.4d400c,mp4a.40.2,RESOLUTION=256x144,FRAME-RATE=29.970, SUBTITLES=subs clip_145_sub.m3u8clip_145_sub.m3u8#EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:3 #EXT-X-MEDIA-SEQUENCE:1 #EXT-X-PLAYLIST-TYPE:VOD #EXTINF:2.002, clip_145_00001.ts ... ... #EXTINF:2.002, clip_145_00107.ts #EXT-X-ENDLISTNothing happens when I try to download to clip_145.m3u8. Is there another reason why it doesn't work?
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’19
Getting error using 2 of 3 schemes
I have a few build schemes in my app, they are not much different, but I needed to have different info.plists for each scheme.I created a class to store 2 strings, and made it conform to NSCoding so I could store it and retrieve it from standardUserDefaults.On the 2 schemes that are not working, I get the following error:I am running Xcode 7.2.1 (7C1002)*** Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: '*** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (Apps_Scheme_Test.UserLocationString) for key (root); the class may be defined in source code or a library that is not linked'The first thing I thought was that I may have not included UserLocationString.swift in the target membership of those schemes. However, those schemes are checked.I also checked the Build Phases and verified that UserLocationString.swift is included in the Compile Sources section.What I did notice, is that is says object of class (App
0
0
366
Mar ’16
Reply to Stuck in Sign in With Apple modal flow
I had the same problem testing on localhost. Popup window wouldn't disappear when clicking either Continue or Cancel button and neither the AppleIDSignInOnSuccess nor AppleIDSignInOnFailure events would fire unless clicking the browser's close button.I fixed it by using ngrok.com and updating all relevant URIs/domain names in the service ID upstream at apple and the redirect URI in my local scripts. The redirect-uri must specify the same fully qualified domain name (including subdomain) as the page where the popup is triggered from. Using something like ngrok.com and specifying the correct domain for the relevant service ID should solve it.Would be nice if the Apple JS SDK didn't fail silently in this particular case.
Topic: App & System Services SubTopic: General Tags:
Mar ’20
Reply to HelloTriangle in Swift: error about depth attachment pixel format
Please refer this Toggle Metal API Validation via your Xcode Scheme: Scheme > Edit Scheme... > Run > Diagnostics > Metal API Validation. It's a checkbox, so the possible options are Enabled or Disabled. Disabling sets the key enableGPUValidationMode = 1 in your .xcscheme file. After disabling, Xcode no longer logs the Metal API Validation Enabled log message. Note: In Xcode 11 and below, the option appears in the Options tab of the Scheme Editor (instead of the Diagnostics tab).
Topic: Graphics & Games SubTopic: General Tags:
Dec ’21