我需要實現雨燕3.0本Objective-C代碼(我使用的Xcode 8 Beta 3中):Swift 3.0:如何調用CGImageCreateWithImageInRect()?
// Note: this code comes from an Obj-C category on UIImage
CGImageRef imageRef = CGImageCreateWithImageInRect(self.CGImage, cropRect);
UIImage *image = [UIImage imageWithCGImage:imageRef scale:self.scale orientation:self.imageOrientation];
我找不到CGImageCreateWithImageInRect()
最新文檔中任何事情。