I am reading a matt's iOS book, when I read here, I have two place do not understand.
For a view’s underlying layer, layoutSublayers or layoutSublayers(of:) is called after the view’s layoutSubviews. Under autolayout, you must call super or else autolayout will break. Moreover, these methods may be called more than once during the course of autolayout; if you’re looking for an automatically generated signal that it’s time to do manual layout of sublayers, a view layout event might be a better choice.
- "you must call super or else autolayout will break", this phrase I can't understand.
- "if you’re looking for an automatically generated signal that it’s time to do manual layout of sublayers"
What mean of the two place?
super
meaning, but I don't understand themust call super
mean, andelse autolayout will break
, does it mean, if do not call super , the autolayout will not work? and if this, call super waht?