Show the PSPDFKitView close button
The NutrientView can display a close (or back) button in the top-left corner of the main toolbar. This allows you to dismiss the currently displayed NutrientView.
By default, the close button is hidden. To show the close button, you need to set the showNavigationButtonInToolbar prop in Android and the showCloseButton prop in iOS to true, like so:
<NutrientView document={DOCUMENT} showNavigationButtonInToolbar={true} // Show the navigation back button on Android. showCloseButton={true} // Show the close button (X) on iOS. ref="pdfView" fragmentTag="PDF1"/>| Android | iOS |
|---|---|
![]() | ![]() |

