Using iOS camera to upload an image doesn't work?