You can set the appearance of the UILabel and other UIViews:
UILabel.appearance().font = UIFont(name: "yourFont", size: yourSize)
More General:
AnyUIView.appearance().font = UIFont(name: "yourFont", size: yourSize)
More Related Contents:
- custom font not working programmatically in swift
- Cut a UIImage into a circle
- Passing parameters to a method called by NSTimer in Swift
- ‘Receiver () has no segue with identifier ‘addSegue’
- How to create a String with format?
- What is a monospace font in iOS?
- Detect a Null value in NSDictionary
- Swift String escaping when serializing to JSON using Codable
- Hide the status bar in ios 9
- How to change status bar style – iOS 12
- Resize the screen when keyboard appears
- Programmatic UIScrollview with Autolayout
- Swift Merge audio and video files into one video
- NSNotificationCenter Swift 3.0 on keyboard show and hide
- Get pixel value from CVPixelBufferRef in Swift
- How get the list of errors thrown by a function?
- How to get file name in UIImagePickerController with Asset library?
- How to pass data from child to parent view controller? in swift
- iOS Swift: Could not cast value type ‘__NSCFNumber’ to ‘NSString’
- Typewriter effect text animation
- Swift compatibility between versions for a library
- Swift JSON error : Could not cast value of type ‘__NSDictionaryM’ to ‘NSArray’
- Swift – tableView Row height updates only after scrolling or toggle expand/collapse
- Remove println() for release version iOS Swift
- Black screen after adding SceneDelegate and updating Info.plist
- Weird behaviour of Xcode 11 Debugger – Showing values as nil when there’s a value
- Rotating a view in layoutSubviews
- Find an item and change value in custom object array – Swift
- How to Set UITableViewCellStyleSubtitle and dequeueReusableCell in Swift?
- How to set imageView in circle like imageContacts in Swift correctly?