共用方式為


CALayer.RemoveAnimation(String) 方法

定義

從圖層中移除指定的動畫。

[Foundation.Export("removeAnimationForKey:")]
public virtual void RemoveAnimation (string key);
abstract member RemoveAnimation : string -> unit
override this.RemoveAnimation : string -> unit

參數

key
String

動畫的識別碼。

屬性

適用於