main()
The main entry point for an app extension that doesn’t present any UI.
Declaration
static func main() throwsDiscussion
Don’t call this method directly. When the host launches your app extension in a new process, the system calls this method to create your custom AppExtension type and prepare your extension for requests from the host app.