dismiss(animated:)
Dismisses the printing-options sheet or popover.
Declaration
func dismiss(animated: Bool)Parameters
Discussion
You should dismiss the printing options when they are presented in a sheet or animated from a rectangle and the user changes the orientation of the device. (This, of course, assumes your application responds to orientation changes.) You should then present the printing options again once the new orientation takes effect. You can observe the willChangeStatusBarOrientationNotification notification to find out when the device orientation is about to change.