Search results for

file uri scheme

78,480 results found

Post

Replies

Boosts

Views

Activity

Watch Glance Scheme
I'm seeing some weird behaviour in XCode 6.3.1 - 6.4 where the scheme I have for the watch 'Glance' changes its watch interface.I start off with a scheme which has a 'Watch Interface' of Glance. When I run the scheme it switches to 'Main' and I the 'Glance' option disappears from the selection menu.Even if i manually edit the scheme in the XML I still do not get the 'Glance' watch interface.Any ideas?
0
0
216
Jul ’15
Supported URL Schemes
Some Apple URL schemes are documented for third-party use. It’s fine to use those URL schemes for their intended purpose. Other Apple URL schemes are not officially documented. Their use is unsupported. If you rely on such implementation details, things might work, or they might not, and that state might change over time. IMPORTANT If you ship via the App Store, pay attention to clause 2.5.1 of the App Review Guidelines. The Apple URL scheme documentation is not always easy to find. I’m aware of the following: Apple URL Scheme Reference QA1924 Opening Keyboard Settings from a Keyboard Extension [This Q&A was retired years ago.] Preparing your app to be the default messaging app The doc comments for es_new_client in Developer > Bug Reporting describes the applefeedback scheme Additionally, as questions about this most commonly crop up in the context of opening Settings (System Settings on macOS), I wanted to highlight the following: UIApplication.op
0
0
1.8k
Aug ’24
Reply to Safari Extension - can't download files with JS properly
Found a workaround by using an iframe, and run the download code inside the iframe. And for communication between the iframe and the extension I used window.postMessage. I added the iframe content and js file to the public folder of the extension. iframe.html iframe.js function downloadFile(filename, uri) { const element = document.createElement('a'); element.setAttribute('href', uri); element.setAttribute('download', filename); element.style.display = 'none'; document.body.appendChild(element); element.click(); document.body.removeChild(element); } window.addEventListener( 'message', function (event) { downloadFile(event.data.filename, event.data.uri); }, false, ); And the download triggering code from the extension. const iframe = document.createElement('iframe'); iframe.style.display = 'none'; iframe.src = 'iframe.html'; document.body.appendChild(iframe); setTimeout(() => { if (iframe.contentWindow) iframe.contentWindow.postMessage( { filename, uri }, window.
Topic: Safari & Web SubTopic: General Tags:
Aug ’22
Generic URL Scheme
How does iOS choose which app to launch when a generic URL Scheme is launched ? What I know from older document is 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. OR Is there any latest document that states this ?
2
0
1.2k
Mar ’22
Xcode Schemes?
I'm developing an iOS app in Xcode 13.1. I set the scheme (I think that's what says iPad Air 2 in the screenshot) to use a given simulator, but it I exit Xcode and restart, it sometimes changes to another simulator. Is there a way to get Xcode to remember the setting? Thanks, Mark
0
0
442
Oct ’21
how do i set the facebook redirect uri using their api not the sdk, in swift
I have an issue with exchanging code for the token when I try to log in with Facebook using their API not the SDK, I get the code just fine but when I make an API call with that code to get a token I get this error message Error validating verification code. Please make sure your redirect_uri is identical to the one you used in the OAuth dialog request, the redirect uri i use in xcode is (fb + the appId + ://authorize, and that's working for getting the code but how do I add that in the Valid OAuth Redirect URIs inside the Facebook app settings?
0
0
1.5k
May ’21
"404: Invalid URI -- no content" on merchant verification
Hi,in the node.js server I got validation url from client and then post request to this url:const { validationURL } = req.body; const cert = fs.readFileSync(certPath); const key = fs.readFileSync(keyPath); const options = { url: `${validationURL}/paymentSession`, method: 'POST', headers: { Content-Type: application/json, }, key, cert, body:{ merchantIdentifier: 'merchant.domain.name', // from developer panel displayName: 'ProjectName', initiative: 'web', initiativeContext: 'domain.name', // verified from developer panel }, json: true, }; let response = ''; request.post(options, function (error, response, body) { console.log('inner error:', error); console.log('inner statusCode:', response && response.statusCode); console.log('inner body:', body); }).on('error', function(err) { console.log(err) });And I keep gettinginner error: null inner statusCode: 404 inner body: Invalid URI -- no contentWhat may go wrong?It's about url or body payload?I form url according to https://developer.apple.com/doc
2
0
2.4k
Jun ’18
Reply to Using WebVTT captions from sidecar
I also would love to know how to do this. I've pieced information together from several sources - basically I've gotten as far as needing to generate segmented .vtt files based off the larger single sidecar .vtt file. You can use mediafilesegmenter to generate these, but it would be great if this could be done on a server somewhere on the fly as needed (so we didn't need to generate 50k m3u8 files for all of our video assets).It appears that all you need to add to the master m3u8 is this line:#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID=subs,NAME=English,DEFAULT=YES,AUTOSELECT=YES,FORCED=NO,LANGUAGE=eng,URI=http://myserver.com/mycaptions.m3u8but it seems that it expects the URI to be another manifest file listing all the segmented .vtt files. Any direction or further documentation on this would be very helpful.
Topic: Media Technologies SubTopic: Streaming Tags:
Feb ’16