UIImagePickerController po odrzuceniu przesuwa widok do 20 px w systemie iOS 6.0 tylko

EDYTOWAĆ : Ja używamUIStoryBoard.

mampresented lubię to:

UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];

imagePicker.delegate = self;

imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; //| UIImagePickerControllerSourceTypeSavedPhotosAlbum ;
imagePicker.mediaTypes = [NSArray arrayWithObjects:(NSString *) kUTTypeImage,nil];

if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypePhotoLibrary])
{
    if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPhone)
    {
        imagePicker.allowsEditing = YES;
        [self.navigationController presentViewController:imagePicker animated:YES completion:^{

        }];  
    }
}

Teraz kiedydissmissed

-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
{
   UIImage *image = info[UIImagePickerControllerEditedImage];
    NSLog(@"Image : %@",image);
    [self dismissViewControllerAnimated:YES completion:^{
    }];
}

Terazview staje się taki jak pokazano nafiqure :

EDYTOWAĆ : widok zostaje wypchnięty do 20px po wysłaniu.

EDYTOWAĆ : Dotyczy tylko systemu iOS 6.0

questionAnswers(4)

yourAnswerToTheQuestion