IOS Gen UIImage from view

UIGraphicsBeginImageContext(self.view.bounds.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();

Comments

Popular posts from this blog

AWS Lambda – Function in Go

AWS Lambda – Function in Java

PostgreSQL - UPDATE Query