One Logo Pool Ball
UIKit · IOS API REFERENCE

UITextFormattingViewController.TextAlignment

struct · iOS 18.0+ · SDK 27.1

struct TextAlignment

Members (8)

get · iOS 18.0+

center

TypeScript
get center(): Promise<UITextFormattingViewController_TextAlignment>
Swift declaration
static let center: UITextFormattingViewController.TextAlignment
get · iOS 18.0+

justified

TypeScript
get justified(): Promise<UITextFormattingViewController_TextAlignment>
Swift declaration
static let justified: UITextFormattingViewController.TextAlignment
get · iOS 18.0+

left

TypeScript
get left(): Promise<UITextFormattingViewController_TextAlignment>
Swift declaration
static let left: UITextFormattingViewController.TextAlignment
get · iOS 18.0+

natural

TypeScript
get natural(): Promise<UITextFormattingViewController_TextAlignment>
Swift declaration
static let natural: UITextFormattingViewController.TextAlignment
get · iOS 18.0+

right

TypeScript
get right(): Promise<UITextFormattingViewController_TextAlignment>
Swift declaration
static let right: UITextFormattingViewController.TextAlignment
init · iOS 18.0+

init

TypeScript
initNsTextAlignment(nsTextAlignment: NSTextAlignment): Promise<UITextFormattingViewController_TextAlignment>
Swift declaration
init(nsTextAlignment: NSTextAlignment)
get · iOS 18.0+

nsTextAlignment

TypeScript
getNsTextAlignment($self: UITextFormattingViewController_TextAlignment): Promise<NSTextAlignment>
Swift declaration
var nsTextAlignment: NSTextAlignment { get }
init · iOS 18.0+

init

TypeScript
initRawValue(rawValue: string): Promise<UITextFormattingViewController_TextAlignment>
Swift declaration
init(rawValue: String)

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →