Tutorial by Examples

- (UIImage *)getSnapshot { UIScreen *screen = [UIScreen mainScreen]; CGRect bounds = [self.view bounds]; UIGraphicsBeginImageContextWithOptions(bounds.size, false, screen.scale); CGContextRef context = UIGraphicsGetCurrentContext(); CGContextSetInterpolationQuality(context, kCGInterpola...
Support Portrait and Landscape both type of image Drawing and other subviews can be merged in my case I'm adding label to draw { CGSize fullSize = getImageForEdit.size; CGSize sizeInView = AVMakeRectWithAspectRatioInsideRect(imgViewFake.image.size, imgViewFake.bounds).size; CGFl...

Page 1 of 1