PSPDFSegmentImageProviding
Objective-C
@protocol PSPDFSegmentImageProviding <NSObject>
Swift
protocol SegmentImageProviding : NSObjectProtocol
Implement in your UIViewController
subclass provide navigation image for PSPDFDocumentInfoController
container.
-
An image object to use as the content of the segment.
If this returns nil or this protocol is not implemented by a view controller then the view controller’s title will be displayed instead.
Note
SetaccessibilityLabel
property on image to ensure that the segments are properly accessible.