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 方法:
+ (UIImage *)imageWithCGImage:(CGImageRef)imageRef scale:(CGFloat)scale orientation:(UIImageOrientation)orientation
裁剪原始图像或只是旋转它?
有没有办法显示这样的图像而不必在我的应用程序用户界面中显示它?
谢谢
不,不会被裁剪,只是按该大小旋转和缩放:
UIImage 参考
而且,关于如何在不“显示”的情况下显示它,将隐藏参数设置为 YES 或将 alpha 设置为 0.0 可能是个好主意