Creates a new UITraitCollection object where only the display scale has been specified.
Syntax
[Foundation.Export("traitCollectionWithDisplayScale:")]
public static
UITraitCollection FromDisplayScale (
nfloat scale)
Parameters
- scale
- Display scale to set.
Returns
New instance of UITraitCollection with a single element specified.
Remarks
Requirements
Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0