Reputation: 1174
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...
Thank you for any help! I am new to Xcode 6. Thanks for any help!!
Upvotes: 0
Views: 54
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
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