rightBarButtonItems property
Custom bar button items for the right side of the navigation bar.
Each string must be a valid PSPDFKit bar button item identifier as defined in the Nutrient iOS SDK. Common identifiers include:
'annotationButtonItem'— opens the annotation toolbar'searchButtonItem'— opens search'outlineButtonItem'— opens the outline/TOC panel'bookmarkButtonItem'— opens the bookmarks panel'thumbnailsButtonItem'— opens the thumbnail grid'printButtonItem'— opens the print dialog'emailButtonItem'— shares the document via email'activityButtonItem'— opens the system share sheet
The list replaces the SDK's default right bar button configuration. Pass an empty list to remove all right buttons.
Maps to PSPDFViewController.navigationItem.rightBarButtonItems.
See also:
- leftBarButtonItems for the left-side button configuration.
Implementation
final List<String>? rightBarButtonItems;