terminate app in swift

Hi,


I want to terminate app (exit app) when network is not available.


How to do 'terminating app' in swift, and 'the app will be rejected` if I use code for termicating code ?


Thanks 🙂

Accepted Reply

If this is for a store app, yes, you risk rejection during review.

Replies

If this is for a store app, yes, you risk rejection during review.