ios - UITableView inside UIViewControllerView unexpected margins -


i have normal uiviewcontroller on storyboard standard uiview contains 1 child - uitableview

when adding constraints between uiview , uitableview ( equal widths, equla heights, vertical space 0 top layout guide, horizontal space 0 leading margin ) result table view should fill it's parent.

instead table view appears have left , top margins (16 , 64). size inspector shows table views alignment rectangle follows x=16,y=64,width=600,height=600 although constraints have constants set 0's. when try edit manually alignment rectangle keep getting misplaced views warnig try restore previous values.

any idea might cause of strange behaviour?

click view want remove margins. open contraint editor uncheck prefer margin relative:

enter image description here


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -