How to hide/show a view (use only 1 window)

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

Hi guys,

i have a table with some buttons. Each button should show a (created) view. All other views should be hidden.

My function does exactly this. But the show() and hide() function don't work?!

Is that possible? Or do I have to remove them all and add the view I want to?

Thanks for your help!

— asked 2 years ago by emre avsar
2 Comments
  • it would probably be easier to help you if you could post the relevant code.

    — commented 2 years ago by Kathrin Holweger

  • That's definitely possible with Titanium. I've got a view that's initialized with visible = false and I've tried both view.visible = true and view.show(). I works on my Android simulator, my iOS simulator, and my Android device but does NOT work on the original iPhone.

    — commented 1 year ago by Eric Rushing

Your Answer

Think you can help? Login to answer this question!