iphone - Create an image of part of the screen? -


I have a series of by-laws in my version of the screen and it wants to take it and Save it as an image, then hopefully show the image instead of running the app a little faster. How can I get a saved image of those layers (temporarily, the Photos is not accessible in the app)? If you want with a screenshot you can:

/ P> UIGraphicsBeginImageContext (myView.bounds.size); [MyView.layer renderInContext: UIGraphicsGetCurrentContext ()]; UIImage * image = UIGraphicsGetImageFromCurrentImageContext (); UIGraphicsEndImageContext ();

Comments