I am new to the cross platform Titanium SDK, and the Alloy MVC framework.
I created a button inside index.xml like this:
<Alloy>
<Button id="button">Click Me</Button>
</Alloy>
But now I want to know how to display the title "Click Me" when on an iPhone, and display the title "Submit" when on an iPad.
Where do I need to write the condition? In index.xml, index.js, or index.tss?