Upravit

Sdílet prostřednictvím


UIScrollViewIndicatorStyle Enum

Definition

The visual style for a UIScrollView's scroll indicator.

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

Fields

Name Value Description
Default 0

A black scroll indicator with a narrow white border. Slightly wider than either Black or White

Black 1

A black, borderless scroll indicator. Slightly narrower than Default.

White 2

A white, borderless scroll indicator. Slightly narrower than Default.

Remarks

Specifies the visual appearance of the scroll indicators in a UIScrollView. Values are:

ConstantDescription
Default Black with a white border.
Black Black. Narrower than Default.
White White. Narrower than Default.

The following image shows the three styles in closeup:

Applies to