Creates and returns an CAPropertyAnimation instance for the specified key path.
Mac Catalyst 13.0+Beta
The key path of the property to be animated.
A new instance of CAPropertyAnimation with the key path set to keyPath.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.