Category "uilabel"

Animate a UILabel and UIButton within a single UIView.transition block?

I need to animate the change of the value of a UILabel and a UIButton's image property. I currently use two UIView.transition blocks which seem to work fine, bu

OUTDATED: Updating a UILabel to display current location

TLDR; I want to get locations outside the main thread using a different function but I am receiving delays. In details: I'm performing a GET request. later on I

Size a UILabel in SwiftUI via UIViewRepresentable like Text to wrap multiple lines

The goal is to get a UILabel integrated via UIViewRepresentable to size the same way Text does - use the available width and wrap to multiple lines to fit all t

Center NSTextAttachment image next to single line UILabel

I'd like to append an NSTextAttachment image to my attributed string and have it centered vertically. I've used the following code to create my string: NSMuta

Change the size of UILabel or the font to fit in Accented Character

I have a UILabel with Text inside it called : self.textLabel; Now, I noticed that whenever I added an accented letter like Ä Ö Ü, then I get

How to make a UILabel clickable?

I would like to make a UILabel clickable. I have tried this, but it doesn't work: class DetailViewController: UIViewController { @IBOutlet weak var tripD

Add "...Read More" to the end of UILabel

I have a UILabel and in some cases the text is longer then the UILabel itself, so I see the text as "bla bla bla..." I want to add a ...Read More button text at

How to underline a UILabel in swift?

How to underline a UILabel in Swift? I searched the Objective-C ones but couldn't quite get them to work in Swift.

How to force UILabel to draw a text with upper case chars?

How to force UILabel to draw a text with upper case chars?