Use of unresolved identifier ‘UIScreen’; did you mean ‘NSScreen’? DynamicTypes works fine on iOS, but it doesn’t on macOS

UIScreen isn’t available on macOS, which uses NSScreen. But, more to the point of your question, Dynamic Type is an iOS, watchOS and tvOS feature; it’s not built into macOS.

Mac applications often provide user options to increase/decrease font size or change fonts, and that’s likely what you’ll want to do as well.

Leave a Comment