Tips and Tricks – Part 3
In this article i am going to explain some of the programming solutions 1. Capture device screenshot programmatically CGRect rect = CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height); UIGraphicsBeginImageContextWithOptions(rect.size,NO,0.0f); CGContextRef context = UIGraphicsGetCurrentContext(); [self.view.layer renderInContext:context]; UIImage *capturedImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); Here, in above code we first pass the rect which we want
Tips and Tricks – Part 3 Read More »
