从其 iOS 共享扩展打开应用

Opening an app from its iOS Share Extension

我想知道是否可以从共享扩展启动我的应用程序?如果是这样,我将如何使用 Swift?

不,这是不可能的。来自 docs(强调我的):

A Today widget (and no other app extension type) can ask the system to open its containing app by calling the openURL:completionHandler: method of the NSExtensionContext class.