Edytuj

Udostępnij za pośrednictwem


UITraitCollection.FromForceTouchCapability(UIForceTouchCapability) Method

Definition

Creates a new UITraitCollection object where only the availability of 3D Touch has been specified.

[Foundation.Export("traitCollectionWithForceTouchCapability:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static UIKit.UITraitCollection FromForceTouchCapability (UIKit.UIForceTouchCapability capability);
static member FromForceTouchCapability : UIKit.UIForceTouchCapability -> UIKit.UITraitCollection

Parameters

Returns

Attributes

Applies to