swift - Can I redirect to launcher screen from iOs App? -


i newbee in ios app development, , trying create small app using xcode. 1 of views has button close app. when user taps button, have redirect user "launch screen".

but don't know how. can guide me?

thanks

first of there no way can 'close' app programmatically. alternative solution force crash app using exit function.

you can use code below:

exit(0); 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -