title: How to get the size (memory size) of an image in iphone?
body: <p>I'm using images in an iPhone application. I need to restrict the images so that those larger than 4MB cannot to be uploaded.</p>
  
  <p>How can I check the data size of an image file?</p>