Editar

Compartir a través de


UIBarMetrics Enum

Definition

Enumerates layout bar metrics.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIBarMetrics
type UIBarMetrics = 
Inheritance
UIBarMetrics
Attributes

Fields

Compact 1

Metrics for the phone idiom.

CompactPrompt 102

Default metrics for bars with prompts on the phone idiom.

Default 0

The default metrics for the device.

DefaultPrompt 101

Default metrics for the device for bars with the prompt property, e.g., UINavigationBar and UISearchBar.

LandscapePhone 1

Developers should not use this deprecated field. Developers should use 'UIBarMetrics.Compat' instead.

LandscapePhonePrompt 102

Metrics for landscape orientation for the phone idiom, for bar with the prompt property.

Applies to