How to create a new image with specified frame in a UIView, the view contains imageviews and buttons also.I also need to get the image in the specified frame as a new image. I've tried this but it not correct.
I need to crop from UIView and make it as a new UIImage.
You need to import this framework in your project.
And use following code
EDITED:
Use any one which you need.
For Get Crop Image:
Use following method that return
UIImage
(as You want size of image)Here you get Croped Image that return by above method;
OR RESIZING
And also Use following method for specific hight and width with image for Resizing UIImage:
This method return NewImage, with specific size that you want.