編集

次の方法で共有


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

Name Value Description
Default 0

The default metrics for the device.

Compact 1

Metrics for the phone idiom.

LandscapePhone 1

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

DefaultPrompt 101

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

CompactPrompt 102

Default metrics for bars with prompts on the phone idiom.

LandscapePhonePrompt 102

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

Applies to