Re: How to enable local storage in WebView using Swift

2015-06-27 Thread Conrad Shultz
> On Jun 3, 2015, at 7:23 AM, Juanjo Conti wrote: > > 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:@

Re: How to enable local storage in WebView using Swift

2015-06-03 Thread Roland King
> On 3 Jun 2015, at 22:23, Juanjo Conti wrote: > > 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:@"~/

Re: How to enable local storage in WebView using Swift

2015-06-03 Thread Juanjo Conti
BTW; I get the error in both lines. On Wed, Jun 3, 2015 at 11:35 AM, Juanjo Conti wrote: > Same error with both names. > > On Wed, Jun 3, 2015 at 11:31 AM, Scott Ribe > wrote: > >> On Jun 3, 2015, at 8:23 AM, Juanjo Conti >> wrote: >> > >> > Hi, I'm using WebView and I'd like to enable HTML5 l

Re: How to enable local storage in WebView using Swift

2015-06-03 Thread Juanjo Conti
Same error with both names. On Wed, Jun 3, 2015 at 11:31 AM, Scott Ribe wrote: > On Jun 3, 2015, at 8:23 AM, Juanjo Conti wrote: > > > > 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: > > > >

Re: How to enable local storage in WebView using Swift

2015-06-03 Thread Scott Ribe
On Jun 3, 2015, at 8:23 AM, Juanjo Conti wrote: > > 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:@"

How to enable local storage in WebView using Swift

2015-06-03 Thread Juanjo Conti
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"]; [prefs setLocalStorag