A CADisplayLink object is a timer object that allows your application to synchronize its drawing to the refresh rate of the display.
Questions tagged [cadisplaylink]
137 questions
0
votes
1 answer
Is it true that for iPad and iPhone, using CADisplayLink must be for 60fps?
In other words, can we choose to invoke the handler at 20 times per second, or at 45 times per second, or must it be 60 times per second?
I guess one way to simulate it will be to use the timestamp given to the handler to determine if it is "time…

nonopolarity
- 146,324
- 131
- 460
- 740
-1
votes
1 answer
How to update a view during a CADisplayLink animation
I'm trying to implement a simple animation using CADisplayLink. A black square should move slowly across the screen.
But the square appears stationary because the body of Squares doesn't get updated when step() increments testX and testY.
From what…

West1
- 1,430
- 16
- 27