UIGraphicsBeginImageContextWithOptions(self.view.bounds.size, self.view.opaque, 0.0);spa
[self.view.layerrenderInContext:UIGraphicsGetCurrentContext()];it
UIImage * img = UIGraphicsGetImageFromCurrentImageContext();io
UIGraphicsEndImageContext();im