Błąd UIImagePickerController: miganie widoku, który nie został renderowany, wyniki w pustej migawce w systemie iOS 7

Otrzymuję ten błąd tylko w systemie iOS 7 i aplikacja uległa awarii. W systemie iOS 6 nigdy nie pojawia się żaden błąd, tylko jedno ostrzeżenie pamięci podczas otwierania kamery.

Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.

Oto co robię.

imagePicker = [[UIImagePickerController alloc] init];
[imagePicker setDelegate:self];
[imagePicker setSourceType:UIImagePickerControllerSourceTypeCamera];
[imagePicker setAllowsEditing:YES];

[self presentModalViewController:imagePicker animated:YES];

Próbowałem opóźnić kontroler presentModalViewController, ale wciąż otrzymuję ten sam komunikat. Po kilku sekundach (7-10) aplikacja uległa awarii.

Ten błąd występuje tylko w systemie iOS 7.

Ktoś ma jakąś wskazówkę? Z góry dziękuję.

questionAnswers(16)

yourAnswerToTheQuestion