Retrieves a value from the dictionary associated with the buffer.
SDKs
- iOS 3.0+
- macOS 10.6+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- IOSurface
Declaration
CFType Ref IOSurfaceCopyValue(IOSurface Ref buffer, CFString Ref key);
Discussion
This call lets you attach CF property list types to an IOSurface buffer. This call is expensive (it must essentially serialize the data into the kernel) and thus should be avoided whenever possible.
Note
This function cannot be used to change the underlying surface properties.