Returns the data in the pasteboard for the given representation type.
- iOS 3.0+
- Mac Catalyst 13.0+
A string identifying a representation type of a pasteboard item.
A data object or
nil if there is no data in the pasteboard of the given type.
The returned object often holds raw (binary) data, such as image data. This method works on the first item in the pasteboard. If there are other items, it ignores them.