Exit button to close my application Xcode swift3

Hello,

I was searching on the network to find out how to get to quit my application, I get nothing and I get confused , is that hard just to close an app on xcode??! so I want to know from you as a professionals how to do that please?

Thank you

I suspect you’re working on iOS, in which case QA1561 How do I programmatically quit my iOS application? applies. If not, please post more details about the environment you’re working in.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Exit button to close my application Xcode swift3
 
 
Q