samedi 28 février 2015

Autolayout UIButtons in a grid


Vote count:

0




I'm having trouble getting my UIButtons to align properly in my scrollview. I have tried aligned baselines, aligning each to a my UIView called contentView, etc. and nothing has worked.


Essentially I have a:



`UIView`

`UIScrollView` //320 x 708

`UIVew` //320 x 708 , called contentView


I have 8 UIButtons sizes 140x140, that are aligned two to a row as such:



|---8 pts--| UIButton |---8 pts--| UIButton |---8 pts--|
_
|
|
8 pts
_

|---8 pts--| UIButton |---8 pts--| UIButton |---8 pts--|


asked 1 min ago







Autolayout UIButtons in a grid

Aucun commentaire:

Enregistrer un commentaire