EDIT : I am using UIStoryBoard
.
I have presented
like this:
UIImagePickerController *imagePicker = [[UIImagePi
The reason was i was setting frame of view controller
which is in protrait mode
as its previous view
was in landscape mode
.
self.view.bounds = CGRectMake(0,0,...,...);
Whenever imagepicker
dissmiss
got called
it moved
to original position
as mentioned
.
Now changed in structure
for orientation
without setting self.view frame externally solved
my problem
.