Hi Im new to titanium which allow developer to create cross platform apps. I need to create a navigation group that works with both android and iOS. is there any clear solution ( as Ti.UI.iPhone.createNavigationGrou() only works on iphone,
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have the following NavigationController that lives in the android and iphone folders:
android
iphone
Then, you can just use it (you will automatically get the correct one based on your runtime):
You can continue opening windows and they go on the stack. Notice I passed the controller into the first view. You keep doing that:
The
backbutton will automatically push things off your stack. If you need to do it programatically, just tell the controller to close it: