Szerkesztés

Megosztás a következőn keresztül:


UIView.SetAnimationWillStartSelector(Selector) Method

Definition

Specifies the selector to be used by a custom animation delegate when animation is about to begin.

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

Parameters

sel
Selector

A message that is sent to the animation delegate before the animations commence.

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 SetAnimationDidStopSelector(Selector), can be used to create a custom animation delegate.

Applies to