Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只是不知道该怎么做。我想要更灵活地编辑图像
UIImage 实例具有CGImage(只读)属性,允许访问 CGImageRef 图像数据。 要从 CGImageRef 创建新的 UIImage,您可以使用 convinience 构造函数:
CGImage
+ (UIImage *)imageWithCGImage:(CGImageRef)cgImage