how to close an application?

W WAN NOR AINIE W MUHAMAD 3 years 6 months ago
121 3 0

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.

Please Register or Login to post a reply

3 Replies

J Jon Tara

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.

W WAN NOR AINIE W MUHAMAD

thanks

K Kutir Mobility

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

CONTACT
Can’t find what you’re looking for?