Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2517] iOS7: platformHeight returns wrong value on iPhone 5 device

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-08-28T22:39:41.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labels3.1.2GA, ios
Reporternicolomonili
AssigneeDaniel Sefton
Created2013-08-28T20:49:24.000+0000
Updated2016-03-08T07:41:34.000+0000

Description

Problem with the property Platformheight. If i start the simulator (iphone5 simulator) the Platformheight property display 568(correct) , but if I install the app on the device the property Platformheight display 480(not correct), but my device is an iphone5!

Comments

  1. Daniel Sefton 2013-08-28

    Hi nicolomonili, IIRC if you don't have a Default-568h@2x.png splash image in your resources, then platformHeight will indeed return the wrong value. Let me know if adding that works.
  2. nicolomonili 2013-08-28

    Hi Daniel Sefton, incredible ... the problem is solved ... I recreated the project of the app, forgetting to insert pictures of splashscreen ..
  3. Daniel Sefton 2013-08-28

    Thanks, glad it's resolved. Closing as fixed.

JSON Source