This question is locked. New answers and comments are not allowed.
Hi,
testing our web site using icenium graphite we've determined layout differences between the external Safari browser and the internally used uiwebview control.
While the external browser scales the output changing the viewport width to a specific width (
When trying this:
window.open('index.html', '_blank', 'toolbar=no,menubar=no,location=no,enableViewportScale=yes');
the output is diplayed properly, but this is a window. So not a reasonable work around.
My question is, is it possible to set "enableViewportScale=yes" for the internally used browser control otherwise? If yes, how?
Using PhoneGap Build there is a config.xml which allows to set this preference.
The best solution for us would be, if we could set this in code.
Thank You
Regards
Alexander Genne
testing our web site using icenium graphite we've determined layout differences between the external Safari browser and the internally used uiwebview control.
While the external browser scales the output changing the viewport width to a specific width (
<meta name="viewport" id="viewport" content="width=480, user-scalable=no">), the internally used control doesn't.
When trying this:
window.open('index.html', '_blank', 'toolbar=no,menubar=no,location=no,enableViewportScale=yes');
the output is diplayed properly, but this is a window. So not a reasonable work around.
My question is, is it possible to set "enableViewportScale=yes" for the internally used browser control otherwise? If yes, how?
Using PhoneGap Build there is a config.xml which allows to set this preference.
The best solution for us would be, if we could set this in code.
Thank You
Regards
Alexander Genne