views:

39

answers:

0

I want to use portrait mode only when I take a photo. I've tried to do this [[UIDevice currentDevice] setOrientation:UIDeviceOrientationPortrait]; It works but it will be deprecated. I've tried to implement shouldAutorotateToInterfaceOrientation in the view that call UIImagePicker but it doesn't work.

thank you :)