> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/ios/viewer/new-document-viewer-ui-ios.md).

# New Document Viewer UI

Discover the enhanced UI features of Apryse's iOS SDK Version 7.1.5, including customizable annotation tools, multiple toolbars, view mode, presets, and more. Upgrade your document viewer experience n

Starting with Version 7.1.5 Apryse's iOS SDK, we introduce a new and improved UI for our document viewer:

![](https://4149080208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgY6xtY9ZQd9XMpvWlGM0%2Fuploads%2Fgit-blob-a1d9b56e88c1a8f7f07a5870ddc6d2347c3f0b67%2F5ca895b1de9d25fb4295b8f4f0f426e6c3f90308-600x251.gif?alt=media)

The UI is:

* Easily customizable by APIs
* Provides an excellent UX and attractive UI
* Can show annotation tools concurrently with the main UINavigationBar
* Accommodates an unlimited number of tools (and toolbars)
* Is user-customizable

This functionality is part of the new class `PTDocumentController`, which is a near drop-in replacement for `PTDocumentViewController`.

## Annotation Toolbar

The annotation toolbar has an attractive look. The toolbar scrolls horizontally, allowing it to host any number of tools. Frequently accessed undo/redo buttons are "sticky", and are always available:

![](https://4149080208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgY6xtY9ZQd9XMpvWlGM0%2Fuploads%2Fgit-blob-e483ff1233f16d662b2f2db57e5458398403ca38%2F038b72c119fd30ee5f8c26b40443b27a5c1f7d43-1659x696.jpg?alt=media)

## Multiple Toolbars

Multiple toolbars are supported, and can be switched between using a toolbar chooser. A number of standard toolbars are included, including "View", "Annotate", "Shapes", and "Insert". These are completely customizable, both the name and number of toolbars, which tools they contain, and what order they are displayed in, so that it can fit your app's requirements exactly.

![](https://4149080208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgY6xtY9ZQd9XMpvWlGM0%2Fuploads%2Fgit-blob-3ca7603a5f7d8e000a67171f8ae88946fea9a2d8%2F25cc575331d45b765399322b517adde8718db8e5-1668x903.jpg?alt=media)

## View mode

The UI also includes a "View Mode", which hides the annotation toolbar.

![](https://4149080208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgY6xtY9ZQd9XMpvWlGM0%2Fuploads%2Fgit-blob-ebb3c1210a49258982a92656924e47ae563c1ca0%2Fd072a4879796450d7c620e4bb1ed7487fd1a3f97-1668x608.jpg?alt=media)

## Presets

Annotation tools support presets, so that a user can quickly change between styles of the same tool. For example when the pen tool is active, switching from red to green, and then back to red, are both single-tap operations.

![](https://4149080208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgY6xtY9ZQd9XMpvWlGM0%2Fuploads%2Fgit-blob-748200f2e31d90dd9c4d61e60eddb9c790c0976b%2Fe58a23f0f802823e6c58fd117ae0d6d228bb5736-600x363.gif?alt=media)

## Bottom Bar

On iPhone, the bottom bottom bar includes one-touch access to viewing and navigation actions, which enables single-handed viewing. These actions include the annotation/bookmarks/outlines/layers lists, thumbnails, reader mode and a Safari-inspired tabs button.

![](https://4149080208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgY6xtY9ZQd9XMpvWlGM0%2Fuploads%2Fgit-blob-c4d27bab3fe8d47d1c0456dcdbe07e41f6888181%2F90b70940b6a1af44771a8368af9052aeb18a30c1-1125x2436.jpg?alt=media)

Of course, this area is completely customizable for your app's purposes.

## Thumbnail Slider

The thumbnail slider moves horizontally or vertically with the direction of scroll.

## User toolbar customization

If your app contains many tools, the new UI allows the user to customize it to their preference.

This includes the ability to re-order tools in a toolbar:

![](https://4149080208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgY6xtY9ZQd9XMpvWlGM0%2Fuploads%2Fgit-blob-f4464304db36f05ec61dc08f4ec79c63254bca3b%2Fbf06fff5a20e1695e6465fea7e528da7b03733df-1668x2224.jpg?alt=media)

As well as create a fully-custom "favorite" toolbar:

![](https://4149080208-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgY6xtY9ZQd9XMpvWlGM0%2Fuploads%2Fgit-blob-ea6f77f869e4d3b8b3f27f3a30fde519b6c5bd25%2F85138dbdb1a930986829f4ae5afcaf5cf0347fd0-1668x2224.jpg?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.apryse.com/ios/viewer/new-document-viewer-ui-ios.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
