Difference between revisions of "Application:getDeviceHeight"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the physical height of the device in pixels. For example,<br /> for iPhone 3GS this fun...")
 
Line 7: Line 7:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = Application:getDeviceHeight()
+
(number) = Application:getDeviceHeight()
 
</source>
 
</source>
 
'''Returns''' (number) The physical height of the device in pixels<br/>
 
'''Returns''' (number) The physical height of the device in pixels<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the physical height of the device in pixels. For example,
for iPhone 3GS this function returns 480 and for iPhone 4 (with retina display enabled) this function returns 960.

(number) = Application:getDeviceHeight()

Returns (number) The physical height of the device in pixels