I've been following 6 or 7 tutorials already about table view cells, and they have been behaving seriously wrong (for example: as I click a row, the imageview resizes and covers the whole cell).
Since I'm new to iOS I have only read about things like constraints and auto-layout, and understand them theoretically. Given the fact that I have not set up anything related to auto layout or constraint, my storyboard prototype cell have only drag-n-dropped labels
and imageviews
and the Use autolayout checkbox is checked.
Up to this point, I have the theory that since use autolayout is checked, and no constraint is set up whatsoever, that is the cause of the strange behavior.
Also, in the Size inspector each view (imageview, label, other label) has different autosizing
definition.
My question would be what is the relationship between autolayout
, constraint
, and autosizing