Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

System font renders as Times New Roman on iOS 13

I found the solution, the problem comes with detecting the current label's font. I changed:

descriptions.font = UIFont(name: (descriptions.font?.fontName)!, size: 22)

to

descriptions.font = UIFont.systemFont(ofSize: 22)

and problem solved.

Tags:

Ios

Xcode

Related

Androidx error creating new flutter project in Android Studio Can the type 'an array of pairs of values of the same type' be expressed in TypeScript? How to Change Interval Time Dynamically in For Loop According to Index/iteration Number? How to stop Xcode 11 from changing CFBundleVersion and CFBundleShortVersionString to $(CURRENT_PROJECT_VERSION) and $(MARKETING_VERSION)? Blazor template with menu across the top iOS 13 - Buggy Large Title UINavigationBar while pushing What is the use of service layer in Spring Boot applications? How to give back swipe gesture in SwiftUI the same behaviour as in UIKit (interactivePopGestureRecognizer) No overload matches this call. Overload 1 of 2, SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO) . DB_HOST set to localhost next.js Setting up ESLint for NextJs How to deal with nullable reference types with System.Text.Json?

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy