WKInterfaceDevice.PreferredContentSizeCategory Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.