Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In iOS, is there a relationship between run loop and display refresh?

In iOS, is there a relationship between run loop and display refresh? If so how?

like image 619
Boon Avatar asked Dec 09 '25 00:12

Boon


1 Answers

Apple has a very good WWDC 2012 video describing in detail what happens at the end of each run loop when the current CATransaction commits and drawing happens and animations begin. You might also enjoy reading the less technical explanation of the "redraw moment" in my book:

http://www.apeth.com/iOSBook/ch17.html#_drawing_animation_and_threading

like image 112
matt Avatar answered Dec 11 '25 20:12

matt