My image picker view controller setted inside popover controller. On iOS 6 everything works great, but on iOS 7 the image is rotated and all movings are doing verse: when turnin
As the Apple's Official Doc said:
Present the user interface. On iPhone or iPod touch, do this modally (full-screen) by calling the presentViewController:animated:completion: method of the currently active view controller, passing your configured image picker controller as the new view controller.
On iPad, the correct way to present an image picker depend on its source type, as summarized in this table:
- Camera Photo: Use full screen
- Library Saved: Must use a popover
- Photos Album: Must use a popover
...
On iPad, if you specify a source type of UIImagePickerControllerSourceTypeCamera, you can present the image picker modally (full-screen) or by using a popover. However, Apple recommends that you present the camera interface only full-screen.
Though it said "you can present the image picker modally (full-screen) or by using a popover", as you see by using a popover will result with this weird issue. I guess this might be a bug on iOS 7 SDK.
I'm still trying to fix this issue, but for now, the only way I can tell is to show it modally by
-presentViewController:animated:completion:
method, which is in full-screen (Actually, I don't like this way).
And there's a THREAD discussed about it on Apple's Dev Forums, you can take a look at it. ;)