Custom animation for navwindows Titanium -
//load profile controller. function go_to_profile() { var controller = alloy.createcontroller('profile', { title : 'profile', name : '_profile', isflyout : true }); var newwindow = controller.getview(); alloy.globals.navgroup.openwindow(newwindow, { animated : true, transition:titanium.ui.iphone.animationstyle.curl_up }); }
here code. modify it, window slides in upwards. transition not seem work , keeps sliding in left right.
any idea why, cheers.
it's simple, ti.ui.ios.navigationwindow
doesn't allow transitions.
only when call `window.open()' can define transition prop.
Comments
Post a Comment