Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
DeviceHeight on iPhone 5 — Gideros Forum

DeviceHeight on iPhone 5

vincentcmvvincentcmv Member
edited March 2013 in General questions
I am finding the FIT height by using the below formula
FitHeight = application:getDeviceHeight() / application:getLogicalScaleY()

This works on iPhone4 and Android devices as expected. However for iPhone 5, a black region appears on top and bottom suggesting that the FitHeight calculation has some issue. Retina display is enabled in the project setting. Am I missing anything?

Comments

Sign In or Register to comment.