We provide an option for the user to upload a photo from the phone into the WebView.
I used WKSchemeHandler & WKWebView for iOS11.
But how can use the WKWebView to work with the custom URL scheme for iOS10?
Post
Replies
Boosts
Views
Activity
Hi,
I'm trying to compile the app with Xcode version 12.0 beta 6 on a simulator with iOS 14.0 and then I get this error:
"ld: building for iOS Simulator, but linking in dylib built for iOS, file ‘../Lib/Framework-dynamic/PDFNet.framework/PDFNet’ for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)"
I have attached you the error.
Can you please guide us on how to solve this issue.
Thanks in advance.
Best Regards, Walid
Hello,
One of the components of our application uses UIWebView and it's support of webSQL.
Now, We are upgrading the app according to Apple's guidelines and switching from UIWebView to WKWebView.
Based on Apple documentation WKWebView supports webSQL.
" https://developer.apple.com/documentation/webkit?language=objc
WKWebsiteDataStore
A WKWebsiteDataStore object represents various types of data used by a chosen website. Data types include cookies, disk and memory caches, and persistent data such as WebSQL, IndexedDB databases, and local storage."
But we were unsuccessful migrating to WKWebView and getting webSQL to work.
My Native code is really simple:
WKWebViewConfiguration *conf = [[WkWebViewConfiguration alloc] init]
self.webView = [[WkWebView alloc] initWithFrame:self.view.bounds configuration:conf];
[self.webView loadRequest[NSUrlRequest requestWithURL:[NSURL URLWithString:@"......"]]];
And our javascript
var db = window.openDatabase('local_db', '1.0', 'local database', 200 * 1024 * 1024);
We always get the following error message "Error: SecurityError: DOM Exception 18"...
Can you please help us on how to use webSQL under WKWebView in our application,
How can I use the webSQL in the web application that used the WKWebView?In the Apple documentation of the WebKit framework explain that WKWebView supports the WebSQL."WKWebsiteDataStoreA WKWebsiteDataStore object represents various types of data used by a chosen website. Data types include cookies, disk and memory caches, and persistent data such as WebSQL, IndexedDB databases, and local storage."Thanks in advance