UIView.SetAnimationWillStartSelector(Selector) 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.
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.