Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cocoa/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
CametLayer仅在iOS 13.0上可用_Ios_Rendering_Metal - Fatal编程技术网

CametLayer仅在iOS 13.0上可用

CametLayer仅在iOS 13.0上可用,ios,rendering,metal,Ios,Rendering,Metal,我正在使用camertallayer绘制UIView。 编译器抛出一条警告,指出CAMetalLayer仅在iOS 13.0上可用。 不过,用户可以说是iOS 8.0+ 我可以忽略这个警告吗?我这里只有iOS 13.0设备,我们也希望支持12和11 CAMetalLayer实际上在iOS 8.0+上可用,我可以确认这一点。此警告是已知的Apple错误,您可以忽略它。这通常发生在使用iOS 13之前的模拟器部署目标进行编译时。您会注意到,如果单击警告,您会看到来自模拟器SDK的标题: 为设备编译

我正在使用
camertallayer
绘制UIView。 编译器抛出一条警告,指出
CAMetalLayer
仅在iOS 13.0上可用。
不过,用户可以说是iOS 8.0+
我可以忽略这个警告吗?我这里只有iOS 13.0设备,我们也希望支持12和11


CAMetalLayer
实际上在iOS 8.0+上可用,我可以确认这一点。此警告是已知的Apple错误,您可以忽略它。

这通常发生在使用iOS 13之前的模拟器部署目标进行编译时。您会注意到,如果单击警告,您会看到来自模拟器SDK的标题:

为设备编译时不应收到此诊断