MTKView.Appearance Property


Strongly-typed property that returns the UIAppearance class for this class.

public static MetalKit.MTKView.MTKViewAppearance Appearance { get; }
member this.Appearance : MetalKit.MTKView.MTKViewAppearance

Property Value



Setting any appearance properties on this instance will affect the appearance of all instances of MTKView.

If developers want to control the appearance of subclasses of MTKView, they should use the GetAppearance<T>(UITraitCollection, Type[]) method.

Applies to