Search code examples
iosrenderingmetal

CAMetalLayer is only available on iOS 13.0


I am using CAMetalLayer to draw onto a UIView. The compiler throws a warning that CAMetalLayer is only available on iOS 13.0.
The docs however say iOS 8.0+.
Can I ignore this warning? I only have iOS 13.0 devices here and we'd like to support 12 and 11, too.

enter image description here


Solution

  • CAMetalLayer is actually available on iOS 8.0+, I can confirm this. This warning is a known Apple mistake, you can ignore it.