ios - UITableViewCell Looks Correct on Simulator but is Off-Center on Device -


i have created custom uitableviewcell own xib , subclass.

when view uitableview on ios simulator, cells appear expected.

but when run same code on physical device (have tried on several devices), cells appear far off-center.

i using nslayoutconstraints in interface builder set up.

please let me know if have idea might problem here.

simulator

device


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -