---
title: "Customizing toolbar button styling in iOS viewer | Nutrient"
canonical_url: "https://www.nutrient.io/guides/ios/customizing-the-interface/changing-the-design-of-the-default-buttons/"
md_url: "https://www.nutrient.io/guides/ios/customizing-the-interface/changing-the-design-of-the-default-buttons.md"
last_updated: "2026-06-09T10:32:42.832Z"
description: "If you want to use the stock toolbar buttons provided in Nutrient but with a different style, you can subclass AnnotationToolbar."
---

# Customizing toolbar button styling on iOS

If you want to use the stock toolbar buttons provided in Nutrient but with a different style, you can subclass [`AnnotationToolbar`](https://www.nutrient.io/api/ios/documentation/pspdfkitui/annotationtoolbar). Refer to the [overriding classes](https://www.nutrient.io/guides/ios/getting-started/overriding-classes.md) guide for more information. Ensure that you override the classes very early — before the toolbar buttons are accessed — since they are created lazily and changing the class once it’s created won’t affect anything.

In most instances, you’ll want to change the `image` property or do something that UIKit doesn’t do or support by default. In such a case, you can create a `customView` instead and return that in your subclass. Make sure you create it once and that you don’t recreate it every time `customView` is accessed.

You can also use your own bar button items and simply call down to the action selector of the original button with your custom button as an argument.
---

## Related pages

- [Customize view control modals on iOS](/guides/ios/faq/modally-presented-view-controllers.md)
- [Customizing iOS PDF viewer icons](/guides/ios/customizing-the-interface/changing-an-image-used-in-pspdfkit.md)

