WKInterfaceDevice.PreferredContentSizeCategory Property

Definition

Caution

Use PreferredContentSizeCategoryString instead.

Returns the content size category for fonts, as requested by the user.

[System.Obsolete("Use PreferredContentSizeCategoryString instead.")]
public UIKit.UIContentSizeCategory PreferredContentSizeCategory { get; }
member this.PreferredContentSizeCategory : UIKit.UIContentSizeCategory

Property Value

Attributes

Remarks

Application developers instantiating font objects in code should use this property to determine the appropriate size to retrieve. Font objects specified in the Watch App storyboard will be appropriately scaled by the system.

Applies to