I've a landscape Ipad app (and portrait in iPhone) that opens up the camera to take a photo always rotated of 90 degrees. It will happen since iOS 8.x. the code is:
[self.importPopoverController presentPopoverFromRect:self.avatarImageView.frame
inView:self.avatarImageView
permittedArrowDirections:UIPopoverArrowDirectionAny
animated:YES];
how can I fix that?