I'm kind of stunned I even have to ask this question, but how is it possible to change the size of a label's text on the Apple watch? It doesn't allow changing the size in the Xcode UI, I haven't been able to do it programmatically, and the different font styles don't even change the size.
Zoom (an accessibility feature) has been activated on your watch. To disable Zoom: On your iPhone, in the Watch app, go to: My Watch (tab) > General > Accessibility > Zoom - turn off.
To change the font, you can't use the main template (Text Styles - Body). You should change it to "System", and then try to change font size:
lblSomething.setAttributedText(NSAttributedString(string: "Text Here", attributes: [NSFontAttributeName: UIFont.systemFontOfSize(20.0, weight: UIFontWeightBold)]))
Notes
1- Instead of 20.0, you should use your own font size.
2- Instead of UIFontWeightBold
, you could use one of the following:
3- Instead of "Text Here", use your own text.
4- Instead of lblSomething
, use your label name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With