Sometimes the image provided by the UIImagePicker is not the right size, and putting it to the UIImageView is not enough as we do need to know the size it was being fit to.
Let’s cut the chase, here is the code:
1 |
public static class UIImageUtils |
Hope this helps.
Happy coding!