David James
David James

Reputation: 2466

How to retrieve the current system design from a UIFont instance?

Given a UIFont instance, how can I determine what system design it is using? This is the value UIFontDescriptor.SystemDesign which can be one of: default, monospaced, rounded or serif.

I see how to set this via UIFontDescriptor.withDesign() but it's not clear how to read that value on the current font.

Upvotes: 1

Views: 249

Answers (0)

Related Questions