with12s(_:)
Day period including designations for noon and midnight. For example, Abbreviated: mid
Wide: midnight
Narrow: md
.
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
static func with12s(_ width: Date.FormatStyle.Symbol.DayPeriod.Width) -> Date.FormatStyle.Symbol.DayPeriod