Text and Symbol Modifiers

Manage the rendering, selection, and entry of text in your view.

Overview 概要

SwiftUI provides built-in views that display text to the user, like Text and Label, or that collect text from the user, like TextField and TextEditor. Use text and symbol modifiers to control how SwiftUI displays and manages that text. For example, you can set a font, specify text layout parameters, and indicate what kind of input to expect.

To learn more about the kinds of views that you use to display text, see Text Input and Output.

Topics 話題

Fonts

Dynamic Type

Text Style

Text Layout

Multiline Text

Text Selection

Text Entry

Symbol Appearance

See Also 参照

Configuring View Elements