Returns the font object used for standard interface items that require fixed distances between digits.
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The size (in points) for the font. This value must be greater than
The weight of the font, specified as a font weight constant. For a list of possible values, see "Font Weights” in
UIFont. Avoid passing an arbitrary floating-point number for
weight, because a font might not include a variant for every weight.
A font object of the specified size and weight.
In iOS 9 and later, the system font uses proportional spacing. When displaying numerical data, you can use this method to retrieve a monospace font for displaying that data. With a monospaced font, each digit occupies the same amount of space, which makes it easier to read numbers that are stacked vertically.