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

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -