orientationchange action for iphone in trunk

0 views
Skip to first unread message

amro

unread,
Feb 26, 2008, 3:11:10 PM2/26/08
to Appcelerator Platform SDK
ex: <div on="orientationchange then
script[alert(window.orientation)]"></div>

window.orientation gets the value on the iphone. it shouldn't be
fired on a desktop browser

amro

unread,
Feb 26, 2008, 3:11:38 PM2/26/08
to Appcelerator Platform SDK
i should add that the value for window.orientation will be -90, 0, or
90.
Reply all
Reply to author
Forward
0 new messages