Top "Uilabel" questions

The UILabel class implements a read-only text view in iOS.

Formatting a number to show commas and/or dollar sign

I want to format my UILabel with commas or better with a dollar sign and commas (with no decimal). Here …

objective-c formatting uilabel nsnumberformatter
How do I locate the CGRect for a substring of text in a UILabel?

For a given NSRange, I'd like to find a CGRect in a UILabel that corresponds to the glyphs of that …

ios ios7 uilabel textkit
Custom installed font not displayed correctly in UILabel

I'm trying to use a Helvetica Neue Condensed font which I got from the Adobe Font Collection Pro Package. Unfortunately, …

ios ios4 fonts uilabel uifont
How do I change the letter spacing in a UILabel?

I want to change the spacing between digits in a UIKit UILabel so that it is equal. With standard spacing, …

ios uilabel spacing
Multiline UILabel with adjustsFontSizeToFitWidth

I have a multiline UILabel whose font size I'd like to adjust depending on the text length. The whole text …

ios iphone cocoa-touch uikit uilabel
Custom Fonts Xcode 4.3

I'm trying to use this font in my project but it won't work. I added the .ttf file in my …

ios5 uilabel custom-font xcode4.3
Text not vertically centered in UILabel

I've created a Label with the following code : func setupValueLabel() { valueLabel.numberOfLines = 1 valueLabel.font = UIFont(name: "Avenir-Black", size: 50) valueLabel.adjustsFontSizeToFitWidth = …

ios swift uilabel
Center vertically in UILabel with autoshrink

This is a little different from all the other "How do I center the text in a UILabel" questions here... …

ios uilabel
Add Custom Fonts In Xcode 4.1

i want to use custom fonts in y application. i have declared the "Fonts provided by the application" in the …

iphone objective-c xcode4 uilabel uifont
AutoLayout multiline UILabel cutting off some text

I'm trying to learn auto layout, finally thought I was getting the hang on it when this happened. I'm playing …

ios objective-c uilabel autolayout uistoryboard