iPhoneOSGameView.AutoResize Property
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.
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.