Search results for

“file uri scheme”

84,438 results found

Post

Replies

Boosts

Views

Activity

SFSafariViewController url scheme issue
As of iOS 10 the SFSafariViewController is no longer working the way it did in iOS 9 with url schemes and getting back to the application after the web page is done. In iOS 9 this worked.Launch url in SFSafariViewController from iOS appHave a button on the web page shown in safari that will set the window.location.href to the url scheme of the app that launched the SFSafariViewControllerapplicationDidBecomeActive was called for the url scheme (same app as in step #1) and SFSafariViewController could be closedIn iOS 10 the step #3 no longer happens.Questions related to iOS 10.What is the proper way to get back to the application that created the SFSafariViewController? Without using Done button.Can you close the SFSafariViewController from the web page? JS window.close() doesn't work.What is called in the app when calling the url scheme from SFSafariViewController? It is no longer applicationDidBecomeActive.
2
0
3.6k
Sep ’16
Xcodebuild archive without scheme
Hello, we want to build our projects with the command line, like :xcodebuild -target OurTarget -configuration OurConfig -archivePath project.xcarchive -scheme OurScheme archiveto be able to then, make a build with :xcodebuild -exportArchive -archivePath project.xcarchive -exportPath build -exportOptionsPlist build/exportOptions.plistThe problem is that we are using a script to export our project which remove all user data like scemes.So, what would be the best solution to use these commands without scheme ?Best regards
1
0
1.7k
Mar ’16
xCode 6.4 scheme names
Hi,All my active schemes names seem to be corrupted they are showing a GUID rather than the iOS version number.(This is the same in all projects)xCode 6.4 (6E35b)The scheme look likeiPhone 6 (6C .... a guid here ... )iPhone 6 (4A .... a 2nd GUID guid here ... ).... etcRather thaniPhone 6 (8.1)iPhone 6 (8.2).... etcEverything compiles correctly, but it makes it hard to know which version of iOS I am compiling against.I also have xCode 7.0 (&A121l) installed, which shows the Scheme names correctly.Any ideas on how to fix this ?Cheers,Phil
9
0
744
Jul ’15
Reply to Issue where images from local paths cannot be retrieved in Cordova Webview starting from iOS 26.4
Thanks for your post and your insight on this one. Based on the code snippet and the behavior you are describing in WKWebView, I’m sure the issue is as you describe caused by appending a query string (? + timestamp) to a file:// URI. Xcode does not handle HTML and modifies the WKWebView. Is after the tools and developers to set the HTML to display on the WKWebView. Unlike http:// or https:// URLs, file:// URIs do not natively support query parameters, appending ?1776643364151 causes the system to look for a file literally named profile_image.jpg?1776643364151 on the disk. Because that file doesn't exist, WKWebView returns a broken image? I believe is important to highlight the 3rd party tool you are using is the one that generates the custom HTML? When loading your local HTML file, and does not ensure the allowingReadAccessTo parameter points to a directory high enough in the file tree to encompass both your HTML files and your s
Topic: Safari & Web SubTopic: General Tags:
Apr ’26
Reply to Using AvAssetWriter with named pipes in iOS
Yeah. I tried that. AVAssetWriter fails because it wants to create the file and not just write to it.Adding... let res = mkfifo(path, 0o666) if (res != 0) { print(failed to create named pipe) return } let url = NSURL(fileURLWithPath:path) ...Is there a way to intercept the file open/creation call? I tried hooking to NSURLProtocol and passing a different scheme type; I called it pipe:. However, AVAssetWriter wants *only* file: schemes. I then tried creating hooking to file: schemes, but that path doesn't get exercised via the NSURLProtocol mechanism.
Topic: Media Technologies SubTopic: Audio Tags:
Mar ’16
Reply to "Run" and "Build" buttons greyed out?
Did you create a project for your program? You need to create a project to be able to build and run programs in Xcode. Choose File > New > Project to create a project. If you're learning C++, create a Command Line Tool project, which is in the Application category under OS X.If you created a project and have no schemes, does choosing New Scheme instead of Manage Schemes create a new scheme for you?
Dec ’15
Reply to Invalid redirect_uri in Apple sign in
I found the solution. When you create the ID, you are not allowed to set the domain with a http or https prefix. But you MUST set the redirect uri with the prefix as you have to do it the same way in your code. This is clearly not visible in the console. Also, when you create the ID without the prefix and you want to remove the redirect uri and add the correct one with the prefix, Apple removes the prefix silently and you will still run into the same error. So the solution is to delete the ID, and recreate it with a redirect uri with prefix. Took me only 2 hours to figure this out.
Topic: App & System Services SubTopic: General Tags:
Nov ’20
SFSafariViewController url scheme issue
As of iOS 10 the SFSafariViewController is no longer working the way it did in iOS 9 with url schemes and getting back to the application after the web page is done. In iOS 9 this worked.Launch url in SFSafariViewController from iOS appHave a button on the web page shown in safari that will set the window.location.href to the url scheme of the app that launched the SFSafariViewControllerapplicationDidBecomeActive was called for the url scheme (same app as in step #1) and SFSafariViewController could be closedIn iOS 10 the step #3 no longer happens.Questions related to iOS 10.What is the proper way to get back to the application that created the SFSafariViewController? Without using Done button.Can you close the SFSafariViewController from the web page? JS window.close() doesn't work.What is called in the app when calling the url scheme from SFSafariViewController? It is no longer applicationDidBecomeActive.
Replies
2
Boosts
0
Views
3.6k
Activity
Sep ’16
Apple Translate URL Scheme
Does anyone know the URL scheme for calling Apple Translate?
Replies
0
Boosts
0
Views
1.2k
Activity
Jul ’22
Reply to Playing FairPlay streams with TVJS
HI, what is fpsMgr.assetIDFromURI(uri) doing? can you provide me with sample code?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’17
Xcodebuild archive without scheme
Hello, we want to build our projects with the command line, like :xcodebuild -target OurTarget -configuration OurConfig -archivePath project.xcarchive -scheme OurScheme archiveto be able to then, make a build with :xcodebuild -exportArchive -archivePath project.xcarchive -exportPath build -exportOptionsPlist build/exportOptions.plistThe problem is that we are using a script to export our project which remove all user data like scemes.So, what would be the best solution to use these commands without scheme ?Best regards
Replies
1
Boosts
0
Views
1.7k
Activity
Mar ’16
Reply to Sign in with Apple gives Invalid redirect_uri even though am using a registered URL
Hi Sudhakar,I have to integrate Sign in with Apple for Web and Android app.1) How do i create redirect uri? Is this deeplink url which can be created using branch.io?2) Do i need to have two separate redirect uri separate for web and android?Please let me know about this.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’20
xCode 6.4 scheme names
Hi,All my active schemes names seem to be corrupted they are showing a GUID rather than the iOS version number.(This is the same in all projects)xCode 6.4 (6E35b)The scheme look likeiPhone 6 (6C .... a guid here ... )iPhone 6 (4A .... a 2nd GUID guid here ... ).... etcRather thaniPhone 6 (8.1)iPhone 6 (8.2).... etcEverything compiles correctly, but it makes it hard to know which version of iOS I am compiling against.I also have xCode 7.0 (&A121l) installed, which shows the Scheme names correctly.Any ideas on how to fix this ?Cheers,Phil
Replies
9
Boosts
0
Views
744
Activity
Jul ’15
Reply to Issue where images from local paths cannot be retrieved in Cordova Webview starting from iOS 26.4
Thanks for your post and your insight on this one. Based on the code snippet and the behavior you are describing in WKWebView, I’m sure the issue is as you describe caused by appending a query string (? + timestamp) to a file:// URI. Xcode does not handle HTML and modifies the WKWebView. Is after the tools and developers to set the HTML to display on the WKWebView. Unlike http:// or https:// URLs, file:// URIs do not natively support query parameters, appending ?1776643364151 causes the system to look for a file literally named profile_image.jpg?1776643364151 on the disk. Because that file doesn't exist, WKWebView returns a broken image? I believe is important to highlight the 3rd party tool you are using is the one that generates the custom HTML? When loading your local HTML file, and does not ensure the allowingReadAccessTo parameter points to a directory high enough in the file tree to encompass both your HTML files and your s
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’26
Reply to Using AvAssetWriter with named pipes in iOS
Yeah. I tried that. AVAssetWriter fails because it wants to create the file and not just write to it.Adding... let res = mkfifo(path, 0o666) if (res != 0) { print(failed to create named pipe) return } let url = NSURL(fileURLWithPath:path) ...Is there a way to intercept the file open/creation call? I tried hooking to NSURLProtocol and passing a different scheme type; I called it pipe:. However, AVAssetWriter wants *only* file: schemes. I then tried creating hooking to file: schemes, but that path doesn't get exercised via the NSURLProtocol mechanism.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Mar ’16
Reply to Hide iMessage URL from Mac and older iOS devices
Use a data:... URI instead of an HTTP one.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’16
Reply to "Run" and "Build" buttons greyed out?
Did you create a project for your program? You need to create a project to be able to build and run programs in Xcode. Choose File > New > Project to create a project. If you're learning C++, create a Command Line Tool project, which is in the Application category under OS X.If you created a project and have no schemes, does choosing New Scheme instead of Manage Schemes create a new scheme for you?
Replies
Boosts
Views
Activity
Dec ’15
Home app url scheme
Anyone know the url scheme to open the Home app UIApplication.sharedApplication().openURL()?
Replies
2
Boosts
0
Views
4.4k
Activity
Nov ’16
Reply to NSURL File Representation Differences
There should be only two slashes after the file: scheme.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jun ’16
Airport Utility iOS url scheme
While in Mac the ://apconfig:// apupdate schemes work fine and the airport opens automatically, in iOS I can't find any scheme that opens the airport utility
Replies
1
Boosts
0
Views
412
Activity
Aug ’24
Duplicate url scheme operation
Hi, respectable developers.I want to run both commercial and test apps at the same time by installing two identical apps on my device while running my app. These two apps have different bundle IDs.The problem is that I use the url scheme, and I would like to call this url scheme to select one of the two installed apps.Is there any way?
Replies
0
Boosts
0
Views
604
Activity
Nov ’16
Reply to Invalid redirect_uri in Apple sign in
I found the solution. When you create the ID, you are not allowed to set the domain with a http or https prefix. But you MUST set the redirect uri with the prefix as you have to do it the same way in your code. This is clearly not visible in the console. Also, when you create the ID without the prefix and you want to remove the redirect uri and add the correct one with the prefix, Apple removes the prefix silently and you will still run into the same error. So the solution is to delete the ID, and recreate it with a redirect uri with prefix. Took me only 2 hours to figure this out.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’20