Is it ok to use instance property "compositingFilter" of CALayer for iOS SDK?

Please refer https://developer.apple.com/documentation/quartzcore/calayer/1410748-compositingfilter wherein it says this property is supported on iOS 2.0+ SDK and at the bottom of the webpage under "Special Considerations" it mentions "This property is not supported on layers in iOS."

However, the code is working absolutely fine with this property on iOS.

Is it ok to use instance property "compositingFilter" of CALayer for iOS SDK?

Replies

There are no documented values that you can assign to that property, so the fact that it exists isn't terribly useful... unless you invoke functionality that is not available in the SDK.


So no, it is not OK to use that property as there is nothing you can legally assign to it.