UIImagePicker and Memory Warning Level 1

Posted by user262829 on Stack Overflow See other posts from Stack Overflow or by user262829
Published on 2010-06-14T14:20:16Z Indexed on 2010/06/14 14:22 UTC
Read the original article Hit count: 829

Filed under:
|

Hello,

Whenever I use a UIImagePicker to take a picker in my app, I get the following message in the debug console:

Receive memory warning. Level=1

I am using the following code:

imagePickerController = [[UIImagePickerController alloc] init]; imagePickerController.delegate = self; imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera;

[window addSubview:imagePickerController.view];

imageView = [[UIImageView alloc] initWithFrame:[window bounds]]; imageView.hidden = YES; [window addSubview:imageView];

[window makeKeyAndVisible];

Does anybody have any ideals? I did not notice this error until I started using the GM Seed for SDK4.

© Stack Overflow or respective owner

Related posts about memory

Related posts about warning