Top "Sizetofit" questions

- sizeToFit Resizes and moves the receiver view so it just encloses its subviews.

Resizing UITableView to fit content

I am creating an app which will have a question in a UILabel and a multiple choice answers displayed in …

ios objective-c uitableview sizetofit
UILabel sizeToFit method not working properly

I'm trying to show a long chunk of text inside a UILabel in one line. The UILabel is a subview …

ios objective-c uiscrollview uilabel sizetofit
Make font grow together with UILabel (resized by Auto Layout) - how to do it in Interface Builder?

In a simple iPhone app I display a letter tile (custom UIView with an image and 2 labels) by the following …

ios interface-builder uilabel sizetofit
UILabel and numberOfLines and sizeToFit:

On iOS 5. I have a UILabel element that is originally placed in a nib. I want the x placement to …

ios5 uilabel text-size sizetofit
Resize UItextview according to it's content in iOS7

I'm trying to resize a text view according to content & also it's sibling and parent container. Below code is …

ios ios7 uitextview sizetofit
ios - SizeToFit on UIImageView not working

I have a UIImageView which loads in images from the documents directory on the ios file system . The problem is …

ios uiimageview sizetofit
How can I add padding to the intrinsic content size of UILabel?

I'm using autolayout on iOS7 and I have a problem like this: I'm putting a UILabel onto a UIView and …

ios objective-c uilabel autolayout sizetofit
UILabel text to fill in the frame width

I want to build typography poster using UILabel left and margin: 25 320(device width) - 50(sum of the margins) = 270(label width …

swift uilabel sizetofit
Correct way to use sizeThatFits: and sizeToFit with UILabel?

At the moment I have a label being sized correctly using [aString sizeWithFont:constrainedToSize:lineBreakMode:] but I've introduced rotation into …

iphone resize uilabel sizetofit