Specify the number of bytes to be used for kilobytes.
- iOS 6.0+
- macOS 10.8+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
Setting Formatting Styles
Determines the display style of the size representation.
Specify the units that can be used in the output.
Determines whether to include the count in the resulting formatted string.
Determines whether to include the units in the resulting formatted string.
Determines whether to zero pad fraction digits so a consistent number of characters is displayed in a representation.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software