Can I use CADisplayLink as an NSTimer?

I was wondering if you can use the CADisplayLink timer instead of NSTimer, although I do not do the animation?

I would like to call a specific method very similar to using NSTimer, only at a much higher frequency (60 Hz would be nice), so I was wondering if the CADisplayLink timer would work, although the method just does some calculations, not animation ...

PS I'm testing iPhone 4

+3
source share
1 answer

, . CADisplayLink, . , , - , Apple Review .

avTouch, .

+4

Source: https://habr.com/ru/post/1777198/


All Articles