Last Updated: February 25, 2016
· milesmatthias

Can't access the Ti.UI.iPhone functions on an iPad app?

Titanium's Ti.UI.iPhone functions won't be available in an iPad app unless you say in your project config that you support the iPhone portrait orientation. This is true even with the target device iphone set to false. Grr...

    <orientations device="iphone">
    <orientations device="ipad">
    <target device="blackberry">false</target>
    <target device="android">false</target>
    <target device="ipad">true</target>
    <target device="iphone">false</target>
    <target device="mobileweb">false</target>