UITextFormattingViewControllerConfiguration
Asked on 06/19/2025
1 search
The UITextFormattingViewControllerConfiguration
is a new feature introduced in iOS 18 as part of the updates to UIKit. It allows developers to customize the available controls and layout of the text formatting panel. This is done by setting a custom UITextFormattingViewControllerConfiguration
using the UITextView
's new textFormattingConfiguration
property. If you want to opt out of the new behavior, you can set this property to nil
. This feature is part of the broader text improvements in UIKit, which also include a new text highlight feature and expanded text formatting capabilities.
For more details, you can refer to the session What’s new in UIKit (16:14).

What’s new in UIKit
Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.

What’s new in SwiftUI
Learn what’s new in SwiftUI to build great apps for any Apple platform. We’ll explore how to give your app a brand new look and feel with Liquid Glass. Discover how to boost performance with framework enhancements and new instruments, and integrate advanced capabilities like web content and rich text editing. We’ll also show you how SwiftUI is expanding to more places, including laying out views in three dimensions.

Enhance your app’s multilingual experience
Create a seamless experience for anyone who uses multiple languages. Learn how Language Discovery allows you to optimize your app using a person’s preferred languages. Explore advances in support for right-to-left languages, including Natural Selection for selecting multiple ranges in bidirectional text. We’ll also cover best practices for supporting multilingual scenarios in your app.