Search code examples
xcodetableviewxibspace

While using table view xib constant space is getting left when i configure it in table view


actually i want to add xib cell on table view after giving all constraint 0 from all side the constant space remain there so please help me out that how can i remove that space.[[1]: https://i.sstatic.net/UmOrs.png]


Solution

  • That space is because the constraint to margins is checked, try removing the check from add constraints to margins keeping the values to zero.