CoreAnimation.CADisplayLink.AddToRunLoop Method
Trigger timer events on the specified runloop for the specified modes (weakly typed parameters).

Syntax

[Foundation.Export("addToRunLoop:forMode:")]
public virtual void AddToRunLoop (Foundation.NSRunLoop runloop, Foundation.NSString mode)

Parameters

runloop
The runloop on which to run.
mode
Modes in which the timer will be invoked, one of the various NSString constants in Foundation.NSRunLoop.

Remarks

You should use the strongly typed version if possible, as it prevents common errors.

The mode parameter will determine when the event is sent. The NSRunLoop.NSDefaultRunLoopMode is not delivered during UI tracking events (like scrolling in a UIScrollbar). For getting those kinds of events use NSRunLoop.UITrackingRunLoopMode. Or use NSRunLoop.NSRunLoopCommonModes which covers both cases.

Requirements

Namespace: CoreAnimation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0