ByteCountFormatter
A formatter that converts a byte count value into a localized description that is formatted with the appropriate byte modifier (KB, MB, GB and so on).
Declaration
class ByteCountFormatterOverview
Topics
Creating Strings from Byte Count
Setting Formatting Styles
formattingContextcountStyleallowsNonnumericFormattingincludesActualByteCountisAdaptiveallowedUnitsincludesCountincludesUnitzeroPadsFractionDigits