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

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -