Open new window on iPad

You must Login before you can answer or comment on any questions.

Hi

When I open a new window on the iPad like this:

var win = Titanium.UI.createWindow({ url: 'ownage.js', navBarHidden: true, backgroundColor: '#000'
});

win.open();

... the new window doesn't get slided to like you usually see when opening a new window. How do I animate the window?

To compare, on the App Store, if you search for whatever and open a search result, the window gets animated.

I tried using animate() with a transition but it uses a flip or curl effect. Not what I want.

Thanks!

— asked 3 years ago by John Johnson
2 Comments
  • can you post the code that you are using to pastie.org?

    — commented 3 years ago by Aaron Saunders

  • Thanks but I got it working by creating a navigation group and opening it like this: myNavGroup.open( newWindow, { animated: true } );

    — commented 3 years ago by John Johnson

1 Answer

Your Answer

Think you can help? Login to answer this question!