dismiss image picker causes crash
<p>I use un UINavigationCtronller to navigate from to UIViewController A an UIViewController B.
On the view of the UIViewController B, I tap a button and call UIImagePicker</p>

<pre><code>UIImagePickerController *ipc = [[UIImagePickerController alloc] init];

ipc.sourceType = UIImagePickerControllerSourceTypeCamera;

ipc.delegate = self;

ipc.allowsEditing = NO;

[self presentModalViewController:ipc animated:YES];
</code></pre>

<p>if I tap the 'Cancel' button of UIImagePicker, I call </p>

<pre><code>-(void)imagePickerControllerDidCancel:(UIImagePickerController*)picker{



[picker dismissModalViewControllerAnimated:YES];
</code></pre>

<p>}</p>

<p>UI will return to UIViewController A rather than B</p>

<p>If I tap any place, app crashed.</p>

<p>Welcome any comment</p>
