Skip to content

iOS Titanium – Orientation


Warning: Use of undefined constant gad_content_tag_filter_replace - assumed 'gad_content_tag_filter_replace' (this will throw an Error in a future version of PHP) in /home/surfer_u/labs.andrewu.net/wp-content/plugins/web-ninja-google-analytics/webninja_ga.php on line 1813

open your TIapp editor and edit this lines:

<orientations device="iphone">
    <orientation>Ti.UI.PORTRAIT</orientation>
</orientations>
<orientations device="ipad">
    <orientation>Ti.UI.PORTRAIT</orientation>
    <orientation>Ti.UI.UPSIDE_PORTRAIT</orientation>
    <orientation>Ti.UI.LANDSCAPE_LEFT</orientation>
    <orientation>Ti.UI.LANDSCAPE_RIGHT</orientation>
</orientations>

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*