当前位置:   article > 正文

iOS17版本适配_thread 1: "uigraphicsbeginimagecontext() failed to

thread 1: "uigraphicsbeginimagecontext() failed to allocate cgbitampcontext:

新版本问题:

1、UIGraphicsBeginImageContextWithOptions函数崩溃

在iOS17.0 beta版本中,如果此函数的第个参数size,传来0,0,会导致毕现崩溃,报错内容如下:

Thread 1"UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={0, 0}, scale=3.000000, bitmapInfo=0x2002. Use UIGraphicsImageRenderer to avoid this assert."

2、日历中写入事件改动

Accessing Calendar using EventKit and EventKitUI | Apple Developer Documentation

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/93382
推荐阅读
相关标签
  

闽ICP备14008679号