Re: iOS webview size

2013-12-07 Thread purplecabbage
0 72 34 > http://touchit.fr > > -Original Message- > From: Stephan Wezel [mailto:s.we...@web.de] > Sent: samedi 7 décembre 2013 07:32 > To: dev@cordova.apache.org > Subject: Re: iOS webview size > >> Sorry, i needed to specify that my app is not a canvas ap

RE: iOS webview size

2013-12-07 Thread Maxime LUCE
m: Stephan Wezel [mailto:s.we...@web.de] Sent: samedi 7 décembre 2013 07:32 To: dev@cordova.apache.org Subject: Re: iOS webview size > Sorry, i needed to specify that my app is not a canvas app, it's a HTML 5 app. Do you use the thml 5 canvas then? > Just to know, since which IOS vers

Re: iOS webview size

2013-12-06 Thread Stephan Wezel
. > --- > Maxime LUCE - Somatic > maxime.l...@somatic.fr > 06 28 60 72 34 > > De : Stephan Wezel<mailto:s.we...@web.de> > Envoyé : ‎06/‎12/‎2013 18:36 > À : dev@cordova.apache.org<mailto:dev@cordova.apache.org> > Objet : Re

RE: iOS webview size

2013-12-06 Thread Maxime LUCE
ova.apache.org<mailto:dev@cordova.apache.org> Objet : Re: iOS webview size Oh i forgot to mention, that the posted code is derived from the High DPI canvas entry on html5rocks Stephan On Friday 06 December 2013 18:17:57 Stephan Wezel wrote: > Or you could use following code to do

Re: iOS webview size

2013-12-06 Thread Stephan Wezel
g > > > > > > > > > > On Dec 6, 2013, at 9:49 AM, Maxime LUCE wrote: > > > > > > > > > > > By default, Cordova ios project targets iOS 5+, could it be blocking > > > ?? > > > > > > > > >

Re: iOS webview size

2013-12-06 Thread Stephan Wezel
gt; > > > > > > > On Dec 6, 2013, at 9:49 AM, Maxime LUCE wrote: > > > > > > > > > By default, Cordova ios project targets iOS 5+, could it be blocking > > ?? > > > > > > > > > > > > > > >

Re: iOS webview size

2013-12-06 Thread Ian Clelland
Cordialement. > > > > > > > > > > > > Maxime LUCE > > > > > > > > > > > > max...@touchit.fr > > > > 06 28 60 72 34 > > > > http://touchit.fr > > > > > > > > > > > >

Re: iOS webview size

2013-12-06 Thread Michal Mocny
..@touchit.fr > > > 06 28 60 72 34 > > > http://touchit.fr > > > > > > > > > -----Original Message- > > > From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal > > Mocny > > > Sent: vendredi 6 décembre 2013 15:45 > &g

Re: iOS webview size

2013-12-06 Thread Andrew Grieve
; > > > > > Cordialement. > > > > > > Maxime LUCE > > > > > > max...@touchit.fr > > 06 28 60 72 34 > > http://touchit.fr > > > > > > -Original Message- > > From: mmo...@google.com [mailto:mmo...@google.com] On

Re: iOS webview size

2013-12-06 Thread James Jong
p://touchit.fr > > > -Original Message- > From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal Mocny > Sent: vendredi 6 décembre 2013 15:45 > To: dev > Subject: Re: iOS webview size > > 320 sounds like the width of the first three generations of

RE: iOS webview size

2013-12-06 Thread Maxime LUCE
To: dev Subject: Re: iOS webview size 320 sounds like the width of the first three generations of iphone (though the height is not 240 but 480). Perhaps you are emulating an older device? On Fri, Dec 6, 2013 at 9:28 AM, Maxime LUCE wrote: > Frame is fullscreen but frame content is si

RE: iOS webview size

2013-12-06 Thread Maxime LUCE
3 15:45 To: dev Subject: Re: iOS webview size 320 sounds like the width of the first three generations of iphone (though the height is not 240 but 480). Perhaps you are emulating an older device? On Fri, Dec 6, 2013 at 9:28 AM, Maxime LUCE wrote: > Frame is fullscreen but frame con

Re: iOS webview size

2013-12-06 Thread Michal Mocny
> > Maxime LUCE > > > max...@touchit.fr > 06 28 60 72 34 > http://touchit.fr > > > -Original Message- > From: James Jong [mailto:wjamesj...@gmail.com] > Sent: vendredi 6 décembre 2013 14:47 > To: dev@cordova.apache.org > Subject: Re: iOS webview size &g

RE: iOS webview size

2013-12-06 Thread Maxime LUCE
Frame is fullscreen but frame content is sized Cordialement. Maxime LUCE max...@touchit.fr 06 28 60 72 34 http://touchit.fr -Original Message- From: James Jong [mailto:wjamesj...@gmail.com] Sent: vendredi 6 décembre 2013 14:47 To: dev@cordova.apache.org Subject: Re: iOS webview

Re: iOS webview size

2013-12-06 Thread James Jong
Sounds like you have some customization in obj-c or the nib files. The frame should be fullscreen by default. -James Jong On Dec 6, 2013, at 8:25 AM, Maxime LUCE wrote: > Hi, > > I will try to explain the issue more precisely. > When I launch my app using XCode in the iOS emulator, I can see

RE: iOS webview size

2013-12-06 Thread Maxime LUCE
Hi, I will try to explain the issue more precisely. When I launch my app using XCode in the iOS emulator, I can see that my app is resized in a 320x240 frame. This behavior force iOS to resize every DOM elements to adjust to an arbitrary 320x240. I checked the behavior by putting a "alert(docum

Re: iOS webview size

2013-12-06 Thread Tommy Williams
Not sure what you mean. Are you saying you can only have a canvas with a max size of 320x240? I have an app with a larger canvas than that. If that is what you are saying, be sure you are not trying to set the canvas size just using CSS. For an example maybe have a look at my canvas demo: https

iOS webview size

2013-12-05 Thread Maxime LUCE
Hi everyone, It appears that on iOS, webview is restricted to a 320x240 canvas. Is it possible to automatically set canvas size using device screen's one ? Why is it not the default scenario ? Cordialement. --- Maxime LUCE - Somatic maxime.l...@somatic.fr 06 28 60 72