I'm creating a very simple project, but I can't make the constraints work perfectly both in iPhones and iPad, there's this wierd behavior when I execute the app in an iPad simulator (images below).
I read that there's some differences in the margins between iphones and ipad and even though I tried to find help I couldn't figure it out how to solve this problem.
It's seems like the problem is in the View Margins... I tried to put this code in my appDelegate:
UITableViewCell.appearance().preservesSuperviewLayoutMargins = true
UITableViewCell.appearance().contentView.preservesSuperviewLayoutMargins = true
that I founded in this link UITableViewCell with autolayout left margin different on iPhone and iPad
but doesn't worked!
Thanks in advanced for any help.