Steve Sahayadarlin
Steve Sahayadarlin

Reputation: 1174

Xcode 6, Interface Builder size issues

I am trying to put a textView inside of a tableViewCell and I am currently using autolayout. I do not understand why my textView is behaving badly (see screenshot below). I don't understand what to add in order to make the preview to display what I have in IB. Here is a screenshot...

enter image description here

Thank you for any help! I am new to Xcode 6. Thanks for any help!!

Upvotes: 0

Views: 54

Answers (2)

App Dev Guy
App Dev Guy

Reputation: 5536

This is a bug in Xcode 6 at the moment. I have reported it to them.

In the mean time you need to go to that little box down the bottom left of the Storyboard screen (show document outline) and select it. Select your view from in there and select your UITextView. Then resize or do what you need to that way.

Warning

Resizing the UITableviewCell by dragging it and not using the Size Inspector may resize your textview to 0 so you may have to repeat the process.

Upvotes: 0

gabbler
gabbler

Reputation: 13766

You didn't add constraints of textView, try to select the textView, in storyboard click the second button on bottom bar and add new constraints to its superview which is cell's contentView.

Upvotes: 1

Related Questions