I'm using rhostudio version 4.1.1, and using this coding Rho::Application.quit() to close the application, but it's not work. can anyone guide me to write the right coding? I'm still new with rhostudio.
how to close an application? |
how to close an application?I'm using rhostudio version 4.1.1, and using this coding Rho::Application.quit() to close the application, but it's not work. can anyone guide me to write the right coding? I'm still new with rhostudio. |
Subscribe to email updates
Monthly updates from our Zebra development team, straight to your inbox.
3 Replies
Be aware that iOS applications should not be closed programatically except in case of fatal error. Apps that have a "close" button, etc. will be rejected from the App Store.
thanks
Hi Wan,
Please refer this example at rho-samples/kitchensink/app/Application/confirm_quit_app.erb at master · rhomobile/rho-samples · GitHub
Visnupriya R
Kutir Mobility