Instance Method

shouldHide

Prepares the pane to be hidden.

Declaration

- (BOOL)shouldHide;

Return Value

YES if it is okay to hide the pane; otherwise, NO.

Discussion

In this required method, you should take any action that’s appropriate just before the printing system hides your custom pane. For example, you could remove notifications or accessory windows that are no longer needed. Returning YES indicates that the printing system can proceed to hide the pane, probably to show another pane or to dismiss the dialog.