Initializes a data object initialized with the given Base64 encoded string.
- iOS 4.0–7.0Deprecated
- macOS 10.6–10.9Deprecated
- tvOS 9.0–9.0Deprecated
- watchOS 2.0–2.0Deprecated
A Base-64 encoded string.
A data object built by Base-64 decoding the provided string. Returns
nil if the data object could not be decoded.
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. This method behaves like
init, but ignores all unknown characters.