title: ios compress image to target size (not CGSize)
body: <p>How to compress image to a target size (not CGSize) like 10MB to 9MB?
  Do I have to resize the image?
  Tried <code>UIImageJPEGRepresentation</code>, not very useful.</p>