ios - UITableView is 8 points wider than UIViewController -


i'm adding uitableview uiviewcontroller using interface builder. setting leading, trailing, top , bottom constraints superview margins somehow makes tableview 8 points wider viewcontroller.

here's view hierarchy:

enter image description here

the constraints:

enter image description here

viewcontroller view during runtime using xcode visual debugger:

enter image description here

tableview during runtime using xcode visual debugger:

enter image description here

the 8 points seems suspicious , picture has margins, though i'm not able figure out.

why tableview wider viewcontroller?

enter image description here

uncheck before u give constraint


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -