center-vfl
center-vfl copied to clipboard
Centering a view in a super view with Visual Format Language using Auto Layout in iOS/Swift
Results
3
center-vfl issues
Sort by
recently updated
recently updated
newest added
Sometimes, I think there is an another solution, I copied my solution here. If you want to Horizontal Alignment, just use it ``` [parentView addConstraint:[NSLayoutConstraint constraintWithItem:subView attribute:NSLayoutAttributeCenterX relatedBy:NSLayoutRelationEqual toItem:parentView attribute:NSLayoutAttributeCenterX...
only get an empty window after applying the constraints. :(
If i want to align center with the group of some views?