in addition to this
the doc says
Default is WordWrapping. WordWrapping and CharWrapping both allow for multi-line text, other modes will restrict the title to a single line of text.
be aware, the titleLineBreakMode property is actually available starting from Xcode 14.3
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: