In my application i have integrated UIImagePickerController for capturing the image.In IOS 6 version device, if i change the orientation of the UIImagePickerController while running (camera in running mode) from portrait to landscape and come again, the status bar at the bottom of the view alignment is changed automatically(y co-ordinate automatically increased.) Its working fine in IOS 5.
Before Orientation issue occur.
After change orientation from portrait to landscape and come back to portrait mode view will be change like this in IOS 6.
Code used to display UIImagePickerController
picker = [[UIImagePickerController alloc]init];
picker.delegate = (id)self;
picker.allowsEditing=YES;
picker.sourceType = UIImagePickerControllerSourceTypeCamera ;
[self presentViewController:picker animated:YES completion:nil];
Guide me to fix this issue. Thanks.