Application:getDeviceWidth: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
<languages />
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/>

Revision as of 08:57, 3 September 2018


Available since: Gideros 2011.6
Class: Application

Description


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

(number) = Application:getDeviceWidth()

Return values

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