Contents

SFSafariExtensionViewController

The view controller for a popover associated with your app extension.

Declaration

class SFSafariExtensionViewController

Mentioned in

Overview

If your toolbar item has a popover, your popover view controller should be a subclass of this class. As with other macOS development, typically you want to add your own outlets and actions to the view controller, and provide an XIB file for its user interface.

Your view controller’s contents must use Auto Layout.

Topics

Instance Methods

See Also

Contextual menu and toolbar items