Initializes a Base64 encoded string from the string.
- iOS 4.0–7.0Deprecated
- macOS 10.6–10.9Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
A Base-64 encoded string.
This method is equivalent to calling
base64Encoded with no options specified.
Although this method was only introduced publicly for iOS 7, it has existed since iOS 4; you can use it if your application needs to target an operating system prior to iOS 7.