05-08-2012 04:05 PM
I am currently using the simulators to test an application. The issue is that the screen dimensions for the properties mentioned above do not correlate. When calling either of the screen.height or screen.availHeight properties I attain the device height as expected. However when calling the window.innerHeight I recieve a much smaller value. The simulator is being view at 100% size (not fit to screen). The meta view port is set accordingly yet still this disparity appears. You can even check the values by scripting using the web inspector. Has anyone experienced this? If so, did you manage to fix it? If so how? Am I doing something wrong which I cannot see. Compiled using smartphone webworks 18.104.22.168. Find attached source for a small test application which presents the problem when scripting the properties in using web inspector. Any ideas? src.rar
05-10-2012 04:11 PM
Sorted this out now.
Following articles are worth a read: