Return Value 戻り値
YES
if it is okay to hide the pane; otherwise, NO
.
Availability
Technology
- (BOOL)shouldHide;
YES
if it is okay to hide the pane; otherwise, NO
.
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.