Slider Element
Table 1 lists the keys that may be placed in a dictionary that is associated with the PSSliderSpecifier
type. This element displays a slider that you can use to specify a continuous range of values for the user.
Key | Value type | Value |
---|---|---|
| String | The value of this key is always set to This key is required. |
| String | The preference key identifying the value. This is the string you use this to retrieve the preference value from the defaults database. This key is required. |
| Real | The default value for the preference key. This value is returned when the specified preferences key (represented by the This key is required. |
| Real | The minimum value for the slider. This key is required. |
| Real | The maximum value for the slider. This key is required. |
| String | The image to display on the side of the slider representing the minimum value. This image should be 21 by 21 pixels. |
| String | The image to display on the side of the slider representing the maximum value. This image should be 21 by 21 pixels. |
| Array | Indicates that the element is displayed only on specific types of devices. The value of this key is an array of strings with the supported idioms. Include the string “Phone” to display the element on iPhone and iPod touch. Include the string to “Pad” to display it on iPad. This key is available in iOS 4.2 and later. |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-12-12