<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextFormattingViewController/Delegate-swift.protocol/textFormattingViewController(_:shouldPresentFontPicker:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So30UITextFormattingViewControllerC5UIKitE8DelegateP04textbcD0_23shouldPresentFontPickerSbAB_So06UIFontkcD0CtF"
  },
  "title" : "textFormattingViewController(_:shouldPresentFontPicker:)"
}
-->

# textFormattingViewController(_:shouldPresentFontPicker:)

```
@MainActor func textFormattingViewController(_ viewController: UITextFormattingViewController, shouldPresentFontPicker fontPicker: UIFontPickerViewController) -> Bool
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)