The system font SF Mono has two variations for the number zero (0) and number one (1).
By default, a slashed zero character is displayed for text with system font SF Mono.
In the MacOS Font Book, both a slashed zero and non-slashed zero have the code U+0030.
How can I specify a non-slashed zero on a UIButton title in Swift?
Thanks!
Example of a non-slashed zero character:

This answer uses the Stylistic Alternatives feature in CoreText.
Source:
This link describes the set of currently defined typographic and layout features available from applications using CoreText.
https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type35
Try this code:
Running the code displaying stylistic alternatives for "0" and "1":