Capturing the screen and saving it as an image file
Capturing the screen and saving it as an image file Procedure of capturing image of a UIView Create a Bitmap Context Get the CALayer object (calayer, for example) through UIView’s layer property Call CALayer’s renderInContext: with passing the Bitmap…