Contents

applicationWillTerminate(_:)

Tells the delegate that the app is about to terminate.

Declaration

@MainActor optional func applicationWillTerminate(_ notification: Notification)

Parameters

Discussion

Your delegate can use this method to perform any final cleanup before the app terminates. The app will terminate after this method returns.

See Also

Related Documentation

Terminating Applications