Subscribe: webkitsdk-dev Mailing List
http://rss.lists.apple.com/webkitsdk-dev.rss
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
acirc  enable local  enable  error  juanjo contireply  juanjo  local storage  local  storage webview  storage  swift  webview swift  webview 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: webkitsdk-dev Mailing List

webkitsdk-dev Mailing List



webkitsdk-dev Mailing List



Published: 2015-06-30T23:35:02-08:00

 



Re: How to enable local storage in WebView using Swift
From: Conrad Shultz
Reply to list
[...]

If you can target Yosemite and newer, you can use WKWebView (instead of WebView), and HTML 5 local storage should just work. If it doesn't, or if this is insufficient for your needs, please file a bug report!

-Conrad
 



Re: How to enable local storage in WebView using Swift
From: Juanjo Conti
Reply to list

BTW; I get the error in both lines.    On Wed, Jun 3, 2015 at 11:35 AM, Juanjo Conti <email@hidden> wrote:  Same error with both names.      On Wed, Jun 3, 2015 at 11:31 AM, Scott Ribe <email@hidden> wrote: > quoted text
      --       Juanjo Conti <jjconti@carouselapps. [...]



Re: How to enable local storage in WebView using Swift
From: Juanjo Conti
Reply to list
Same error with both names.    On Wed, Jun 3, 2015 at 11:31 AM, Scott Ribe <email@hidden> wrote: > quoted text
      --       Juanjo Conti <jjconti@carouselapps.com>  Software Engineer - Carousel Apps        



  Carousel Apps Limited, registered in England & Wales with registered number 7689440 and registered office Unit 2 Artbrand Studios, 7 Leathermarket Street, London SE1 3HN. Any communication sent by or on behalf of Carousel App Ltd or any of its subsidiary, holding or affiliated companies or entities (together "Watu") is confidential and may be privileged or otherwise protected. If you receive it in error please inform us and then delete it from your system. You should not copy it or disclose its contents to anyone. Messages sent to and from Watu may be monitored to ensure compliance with our internal policies and to protect our business. Emails are not secure and cannot be guaranteed to be error free. Anyone who communicates with us by email is taken to accept these risks.    



Re: How to enable local storage in WebView using Swift
From: Scott Ribe
Reply to list
[...]

I don't know Swift, nor much about WebViews, but I'd guess it's because you got the member name wrong. Try localStorageEnabled.





 



How to enable local storage in WebView using Swift
From: Juanjo Conti
Reply to list

Hi, I'm using WebView and I'd like to enable HTML5 local storage.    I've read some questions on Stack Overflow where the suggestion is to do:          WebPreferences *prefs = [webView preferences];      [prefs _setLocalStorageDatabasePath:@"~/Library/Application Support/MyApp"];      [ [...]