0

My question is actually about the timing that the layoutSubviews is being fired. Is it called when the scroll view starts to scroll? or, the scrolling is completed? or being fired during the scrolling? Thanks

4

1 回答 1

1

每次滚动视图的边界发生变化(每秒最多发生 60 次)时,它都会在滚动的每一帧上触发。Eliza 在WWDC 2010的“Session 104 - Designing Apps with Scroll Views”视频中提到了这 14 分钟。

有时,仅从NSLog方法调用比在 stackoverflow 上等待某人回答您要快。;^)

于 2012-11-15T07:37:48.690 回答