A control for selecting a single value from a continuous range of values.
Declaration
class UISlider : UIControl
Overview
As you move the thumb of a slider, it passes its updated value to any actions attached to it. The appearance of sliders is configurable; you can tint the track and the thumb, and provide images to appear at the ends of the slider. You can add sliders to your interface programmatically or by using Interface Builder.
Figure 1 shows the terms used to describe the constituent parts of a UISlider object in a left-to-right configuration.
Figure 1 Example UISlider object
'Programming > Swift' 카테고리의 다른 글
Human Interface Guidelines: Modality (0) | 2020.10.26 |
---|---|
Human Interface Guidelines: Navigation (0) | 2020.10.26 |
How to use UIColorFromRGB in Swift (0) | 2020.10.26 |
UIKit (0) | 2020.10.23 |
switch statement (0) | 2020.10.23 |