View are only working in 4.7 inch devices. Support other screen size.
nyan-lin-tun opened this issue · 5 comments
nyan-lin-tun commented
tiepviet commented
It seems difficult to use auto layout. I'm having same trouble with my application.
aslanyanhaik commented
@tiepviet it's easy to work with auto layout. I just didn't have time to fix this bug. Hopefully this week I will fix.
Thanks
tiepviet commented
Thank you!
andreaagudo3 commented
I do need this too
johndpope commented
use snapkit.
10,000 github stars can't be wrong.
stars https://github.com/SnapKit/SnapKit
eg.
to make a view fill the screen.
self.collectionView.snp.remakeConstraints { (make) -> Void in
make.left.top.right.height.equalToSuperview()
}