UIGraphicsBeginImageContextWithOptions(imagBounds.size, NO, 0);
    [color setFill];
    UIRectFill(imagBounds);
    UIImage *img = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    return img;

相关文章:

  • 2022-12-23
  • 2021-05-22
  • 2021-08-13
  • 2022-12-23
  • 2021-10-28
  • 2021-05-24
  • 2021-09-21
  • 2022-01-14
猜你喜欢
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-14
相关资源
相似解决方案