[Doing-275][iOS] Added cropToSize option to allow users to resize image and crop to target size

p4 change: 14797
https://issues.apache.org/jira/browse/CB-54