Titanium Studio 3.2.3 IOS 7
This is my main window:
index.xml
<Alloy> <Window id="mainWin"> <Button title="Load Sizes" onClick="loadSize"></Button> </Window> </Alloy>index.js
function loadSize() { var newview = Alloy.createController('sizes').getView(); $.mainWin.add(newview); }sizes.xml
<Alloy> <View> <Label title="List of Sizes"></Label> </View> </Alloy>My problem now is how do I close the 'sizes' view from within the sizes controller view?