Sometimes we click picture from ios camera but it does not return us the same image as appears inside the camera frame. Use below function to get an image of exact size which was visible through camera.
Follow these Steps:-
Step 1. First of all set the captured image to an UIImageView.
Step 2. Pass that camera uiview to below function so that we can get visible frame of opened camera view.
Step 3. Also pass the UIImage (captured photo) as a param to below function.
To Read complete information about “UIImage Cropping in Objc” visit FindNerd. As it is an effective technology forum, so here you can also ask questions & look for various programming queries along with their solutions including Android, C, Java, php programming questions and answers etc.
No comments:
Post a Comment