You're right it's 320x480.
I launch it on a iPhone retina emulator.

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 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 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 <max...@somatic.fr> wrote:

> 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 size
>
> 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 <max...@somatic.fr> 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 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(document.width) on start up".
> >
> > Someone could help me override this behavior ? I'm not an iOS nor
> objective C expert.
> >
> >
> > Cordialement.
> > ----------------------------
> > Maxime LUCE
> > max...@touchit.fr
> > 06 28 60 72 34
> > http://touchit.fr
> >
> >
> > 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://github.com/devgeeks/Canvas2ImageDemo
> > On 06/12/2013 12:06 pm, "Maxime LUCE" <max...@somatic.fr> wrote:
> >
> >> 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 34
> >>
>
>

Reply via email to