I'm doing a quick prototype for a school iPhone app and I've been messing around in Dashcode.
Just putting the finishing touches to the webapp and I've figured out the transitions with Apple's Docs but I've no idea how to pass in the direction argument (I can't have a 'back' transition going forward).
Where would I put:
into
to make the transition work in the specified direction?
Thanks in advance!
Sam.
Just putting the finishing touches to the webapp and I've figured out the transitions with Apple's Docs but I've no idea how to pass in the direction argument (I can't have a 'back' transition going forward).
Where would I put:
Code:
Transition.LEFT_TO_RIGHT_DIRECTION
Code:
newTransition = new Transition(Transition.PUSH_TYPE, 0.5, Transition.EASE_TIMING);
document.getElementById('stackLayout').object.setCurrentViewWithTransition('main', newTransition, false);}
Thanks in advance!
Sam.