2018年2月28日 星期三

flip image horizontally 左右翻轉圖片

UIImage *flippedImage = [UIImage imageWithCGImage: yourImage.CGImage
                                                scale:trimmedImage.scale
                                          orientation:UIImageOrientationUpMirrored];

沒有留言:

張貼留言