iOS-bug,Xcode,iOS17,“UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={0, 0}
新版本iOS17,运行会报UIGraphicsBeginImageContextWithOptions函数崩溃在iOS17.0版本中,如果此函数的size参数传入的是(0,0),则会导致程序崩溃,报错内容如下:Thread1:"UIGraphicsBeginImageContext()failedtoallocateCGBitampContext:size={0,0},scale=3.000000