ios - Memory Warning Whenever Saving To iPhone Photo Album from UIImagePickerController -


I am working on an application that allows the user to take a picture by tapping on the screen. Whenever they tap, it calls the UIImagePickerController's 'Le Picture' method, then in the delegate controller, in the 'DidFinishPickingMediaWithInfo' method, I do:

  UIImage * image = [For information object: UIImagePickerControllerOriginalImage]; UIImageWriteToSavedPhotosAlbum (image, zero, zero, zero);  

Every time I do this, even if the tap is too far, I get a memory warning. The application is not crashing, but if possible, I want to optimize the display. I know that it should be allowed because the camera itself creates it and saves the photo album every time.

I do not really care about quality optimized, so images with images help first?


Comments

Popular posts from this blog

GO: Serve static pages -

Folder list php -

java - how to parse a JSON string into ObjectNode in Jackson? -