when a UIScrollView scrolls animated (e.g. with setContentOffset:animated: , it periodically calls its layoutSubviews , where subclasses can customize the layout.
Now I want to do something similar with custom view and custom animation ( +[UIView begin/commitAnimations] ). I know that I can get the current borders from the CAlayer view level, however I donβt know how to connect to the animation in order to be able to call layoutSubviews periodically.
Any help is appreciated.
Thanks Jochen
source share