12-26-2012 03:26 PM
I wanted to give Webworks a try (After a nightmare debugging C++ code. It'd be really nice if a managed language is added, preferrably C#/Mono) and after being punched in the face (the frustration levels were high with this one) by bbUI.js, i decided to give JQuery Mobile a try (I am certainly loving it's clean and well thought workflow) with the BB10 theme so i could still achieve a native look, yet im being frustrated that i can pinch zoom in my app normally (this should NOT happen) and adding the meta tag sugested by bbUI.js makes my app look like zoomed-in already to the max and looks pretty ugly. (Event hough i cant zoom in or out, hneither scroll, which is the intended behaviour)
12-27-2012 04:33 AM - edited 12-27-2012 04:37 AM
Just check below code works or not.
var meta = document.createElement("meta");
meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no');
Also read the content in this link: