objective c - iOS AutoLayout Problems - Subviews Misplaced Even Though No Constraints -
i have project of views use constraints , of them don't need because show nicely on other device sizes well. problem when deleted constraints in view controller's subviews, subviews heavily misplaced though didn't warnings missing constraints.
also, when try "reset subviews suggested constraints", adds no constraints whatsoever, , i'm stuck misplaced views.
what cause of this? constraints tricky work with.
because,autolayout in xcode default enabled. not create constraints, xcode auto create constraints @ build time ios know how render views
if want disable autolayout,just uncheck use auto layout image shown below

Comments
Post a Comment