Edit

Share via


UIView.SetAnimationDidStopSelector(Selector) Method

Definition

Specifies the selector to be used by a custom animation delegate when animation ends.

[Foundation.Export("setAnimationDidStopSelector:")]
public static void SetAnimationDidStopSelector (ObjCRuntime.Selector sel);
static member SetAnimationDidStopSelector : ObjCRuntime.Selector -> unit

Parameters

sel
Selector

Delegate object used to define the methods registered using the "SetAnimationDidStopSelector"

Attributes

Remarks

The use of this method is discouraged. Application developers should prefer to use the UIViewPropertyAnimator class to animate UIViews.

This method, with SetAnimationDelegate(NSObject) and SetAnimationWillStartSelector(Selector), can be used to create a custom animation delegate.

Applies to