UIView.AddMotionEffect(UIMotionEffect) 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.
Adds the specified motion effect to the view.
[Foundation.Export("addMotionEffect:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddMotionEffect (UIKit.UIMotionEffect effect);
abstract member AddMotionEffect : UIKit.UIMotionEffect -> unit
override this.AddMotionEffect : UIKit.UIMotionEffect -> unit
Parameters
- effect
- UIMotionEffect
Motion effect to add to the view.
- Attributes
Remarks
This method, when called using the present UIView animation context, animates the transition to the specified motion effect's values.