UIView.ExchangeSubview(IntPtr, IntPtr) Method

Definition

This method exchanges the indices of two UIViews within the Subviews array.

[Foundation.Export("exchangeSubviewAtIndex:withSubviewAtIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ExchangeSubview(IntPtr atIndex, IntPtr withSubviewAtIndex);
[<Foundation.Export("exchangeSubviewAtIndex:withSubviewAtIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ExchangeSubview : nativeint * nativeint -> unit
override this.ExchangeSubview : nativeint * nativeint -> unit

Parameters

atIndex
IntPtr

nativeint

An index within the zero-based Subviews array.

withSubviewAtIndex
IntPtr

nativeint

Another index within the zero-based Subviews array.

Attributes

Applies to

See also