init(appExtensionBundle:)
Creates a web extension initialized with a specified app extension bundle.
Declaration
@MainActor @preconcurrency convenience init(appExtensionBundle: Bundle) async throwsParameters
- appExtensionBundle:
The bundle to use for the new web extension.
Discussion
The app extension bundle must contain a manifest.json file in its resources directory. If the manifest is invalid or missing, or the bundle is otherwise improperly configured, an error will be thrown.