I put in four UITableViews into four view controllers exactly the same way and I did
Add missing constraints from Editor -> Resolve Auto Layout Issues
However my first table view seems shifted upwards. I have attached the two table views.
Do anyone know why this is the case?
Try this step:
1>Remove all constraints
of UITableview
2>Set your UITableview
position (x,20,x,x) OR (y=20)
3>add constraints
and Add missing constraints
from Editor -> "Resolve Auto Layout Issues" but remember UITableview
top constraint
is 0 from Top Layout Guide
(not super view or self.view
)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.