YLPDFViewControllerDelegate Protocol Reference
Conforms to | NSObject |
Declared in | YLPDFViewControllerDelegate.h |
Overview
Implement this delegate in your UIViewController to get notified about YLPDFViewController and change its behaviour.
Tasks
-
– pdfViewController:didDisplayDocument:
Called when YLPDFViewController finished loading document.
-
– pdfViewController:tappedOnAnnotation:
Return YES if you want to override the default action for this annotation. The default value is NO.
Instance Methods
pdfViewController:didDisplayDocument:
Called when YLPDFViewController finished loading document.
- (void)pdfViewController:(YLPDFViewController *)controller didDisplayDocument:(YLDocument *)document
Parameters
- controller
The YLPDFViewController object informing the delegate.
- document
The YLDocument object displayed by the controller.
Discussion
Called when YLPDFViewController finished loading document.
Declared In
YLPDFViewControllerDelegate.h
pdfViewController:tappedOnAnnotation:
Return YES if you want to override the default action for this annotation. The default value is NO.
- (BOOL)pdfViewController:(YLPDFViewController *)controller tappedOnAnnotation:(YLAnnotation *)annotation
Parameters
- controller
The YLPDFViewController object requesting this information.
- annotation
The YLAnnotation object that was tapped on.
Discussion
Return YES if you want to override the default action for this annotation. The default value is NO.
Declared In
YLPDFViewControllerDelegate.h