Instance Method

dismissController

Dismisses the current interface controller from the screen.

Declaration

- (void)dismissController;

Discussion

Call this method when you want to dismiss an interface controller that you presented modally. Always call this method from your WatchKit extension’s main thread.

See Also

Presenting Interface Controllers Modally

- presentControllerWithName:context:

Presents a single interface controller modally.

- presentControllerWithNames:contexts:

Presents a page-based interface modally.

- presentAlertControllerWithTitle:message:preferredStyle:actions:

Presents an alert or action sheet over the current interface controller.

WKAlertControllerStyle

Constants indicating the styles for standard system alerts.