There are many geometric related properties on UIView
.
frame
bounds
transform
Maybe more.
If I want to execute some behavior when the view is resized, what should I do?
I usually tried overriding -layoutSubviews
method, but it also be called by non-resizing event. Even I override all of the properties, I still can't sure I have handled all of possibilities.
What's most stable and recommended way to handle resize event?