編集

次の方法で共有


iPhoneOSGameView.AutoResize Property

Definition

Controls whether the graphics context is recreated when the display size changes.

public bool AutoResize { get; set; }
member this.AutoResize : bool with get, set

Property Value

A Boolean which controls whether the graphics context is recreated when the view's Bounds changes.

Remarks

If true, when LayoutSubviews() is invoked and Bounds differs from Size, then the framebuffer will be destroyed and recreated.

Otherwise, all view size changes are ignored.

Applies to

See also