Is there something similar to Handler.PostDelayed(this.Invalidate, FRAMTE_RATE) for iOS?

EmilOlssonEmilOlsson USMember

I currently use Handler.PostDelayed in Android view for calling a "redraw" after the specified frame rate which creates kind of a draw loop. And now I need something similar for iOS.



  • EmilOlssonEmilOlsson USMember

    I found a similar solution:

    NSTimer.CreateScheduledTimer(TimeSpan.FromMilliseconds(FRAME_RATE), timer => this.SetNeedsDisplay());

Sign In or Register to comment.