DTSidePanelControllerDelegate Protocol Reference
Conforms to | NSObject |
Declared in | DTSidePanelController.h |
Instance Methods
sidePanelController:shouldAllowClosingOfSidePanel:
Asks the delegate if a presented panel can be closed. The default is to allow it, you may prevent the dragging or tap-to-close for example when showing a modal dialog.
- (BOOL)sidePanelController:(DTSidePanelController *)sidePanelController shouldAllowClosingOfSidePanel:(DTSidePanelControllerPanel)sidePanel
Parameters
- sidePanelController
The side panel controller
- sidePanel
The DTSidePanelControllerPanel that the user is trying to close
Return Value
YES
if the user may close a presented panel
Declared In
DTSidePanelController.h