Returns the standard system font with all digits in constant width.
- 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
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, with variable-width text and fixed-width digits.
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.