1

In order for to customize a table view and add some additional controls to it, I've embedded a UTTableViewController into a Container View and placed that container View into a UIViewController.

I've followed the instructions I found here: Embedding TableView in TableViewController into another view

The issue is that the right side of the table view with Detail labels is getting cut off, I've tried various clipping settings and fit options in Storyboard, but can't seem to guess which one to use or perhaps there is another approach? Looking for a suggestion.

Thank you

Paul
  • 481
  • 5
  • 15
  • Did you check the TableView constraint ?? Maybe lose some constraint – Alex Cheng Jun 23 '15 at 01:44
  • well.. it's a UITableViewController embedded in a Container View. Not sure how/if I can set up constraints in such case? I would think that Container View would fit it's subviews automatically by default, but no luck.. somehow the right margin is getting clipped. – Paul Jun 23 '15 at 02:19
  • If you add constraint with related to margin then this may happen. – Mahesh Agrawal Jun 23 '15 at 07:00
  • see this ....http://stackoverflow.com/q/25807545/4030971 – Mahesh Agrawal Jun 23 '15 at 07:00

1 Answers1

1

I figured it out myself.

I had to control-drag from the Container View to the parent View Controller to defined constraints for it. I found the video that helped:

https://www.youtube.com/watch?v=AaCfwqzH9SQ

Paul
  • 481
  • 5
  • 15