UIScreen.CreateDisplayLink Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| CreateDisplayLink(Action) |
Registers a method to be invoked whenever the display screen needs to be updated. |
| CreateDisplayLink(NSObject, Selector) |
CreateDisplayLink(Action)
Registers a method to be invoked whenever the display screen needs to be updated.
public CoreAnimation.CADisplayLink CreateDisplayLink(Action action);
member this.CreateDisplayLink : Action -> CoreAnimation.CADisplayLink
Parameters
- action
- Action
Delegate method to invoke when the screen needs to be updated.
Returns
The active display link that can be configured, read from and scheduled to deliver events.
Applies to
CreateDisplayLink(NSObject, Selector)
[Foundation.Export("displayLinkWithTarget:selector:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreAnimation.CADisplayLink? CreateDisplayLink(Foundation.NSObject target, ObjCRuntime.Selector sel);
[<Foundation.Export("displayLinkWithTarget:selector:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CreateDisplayLink : Foundation.NSObject * ObjCRuntime.Selector -> CoreAnimation.CADisplayLink
override this.CreateDisplayLink : Foundation.NSObject * ObjCRuntime.Selector -> CoreAnimation.CADisplayLink
Parameters
- target
- NSObject
- sel
- Selector
Returns
- Attributes