center-vfl
center-vfl copied to clipboard
It works only with single view
If i want to align center with the group of some views?
Hi @Tom29, can you explain a little more. Or better yet draw a picture of what you want to achieve? Thank you.
Hi @evgenyneu .
I have a list of views , now i want to display it in the center of superview horizontal.
H:|-[c(26)]-10-[i(26)]-10-[t(26)]-10-[s(26)]-10-[p(26)]
I've tried your way and it works but only with one single view.
Is there any possible way to do it? Many tks.
So if I understood you correctly you need to center multiple views inside a container view like this. What I would do is group those smaller subviews in a single view which can be then centered in a superview.