Featured Links

Questions & Answers

This listing is a compilation of both questions asked in-site and questions related to accessibility themes gathered from different sources (stackoverflow, UX Stack Exchange).

Displaying 1 - 1 of 1 questions

Why do I need to set preferredFont(forTextStyle:) when using attributed strings?

I have a label that I want to set to text with a custom line height. I also want to use dynamic type.

Here's how I'm setting the label:

  • ios
  • swift
  • uikit
  • accessibility
  • dynamic-text