ios - UITableViewController - TableView wider than screen -
i'm having problem whole day. i'm using uitableviewcontroller. tableview has 5 static cells. put label inside cell , gave constraints. cell: 
every time when change screen different version of iphone, gives me warning width of label 600 (default in storyboard) , goes of screen on right side. why tableviewcontroller not setting tableview screen size? missing here? subview of viewcontroller , if so, how tell proper size of tableview inside storyboard constraints?
just place table view controller storyboard , configure static cells. no constraints needed step. labels need different set of constraints:
from picture i'm assuming want label on left side of table view in table view cells. in case don't need expand width that. drag label table view cell, place on left side, , a) center vertically b) pin right side of screen shown in screenshot (ignore value , make sure uncheck constrain margin. hope helps!

Comments
Post a Comment