A lowercase representation of the string.
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
This property performs the canonical (non-localized) mapping. It is suitable for programming operations that require stable results not depending on the current locale.
Case transformations aren’t guaranteed to be symmetrical or to produce strings of the same lengths as the originals. That is, the result of this statement:
…might not be equal to this statement:
For example, the uppercase form of “ß” in German is “SS”, so converting “Straße” to uppercase, then lowercase, produces this sequence of strings: