共用方式為


UIFont.PreferredBody 屬性

定義

本文動態類型的慣用 UIFont。

public static UIKit.UIFont PreferredBody { get; }
member this.PreferredBody : UIKit.UIFont

屬性值

備註

若要實作動態類型,應用程式開發人員必須回應 ObserveContentSizeCategoryChanged (請參閱) 的備註和範例 GetPreferredFontForTextStyle(UIFontTextStyle, UITraitCollection)

這可從背景執行緒使用。

適用於