How can I detect a view's x,y,width or height is changed ?
I want to implement that once a view's properties are changed, the other view's positions are reorganised.
For example, I have a webview which has dynamic height. Each time webViewDidFinishLoad I will change the height of webView, then the other view's position will be changed according webview.frame.
I have been thinking i change all the view's position inside the delegate function webViewDidFinishLoad. But i have too many views.
I want to know if I can implement this behaviour using " Key-Value Observing "
If i can, how to implement it.