UIAlertView changes to landscape when App is locked in portrait only in iOS8
问题 I have an app and its orientation is locked as portrait mode, but when I have a UIAlertView and turn the iPhone to landscape, the alert changes the orientation and crops the alert's overlay. Only in iOS8. Anyone had this error? 回答1: Yes I did get this issue. I have developed my code in iOS7 but had to do compatible with iOS 8 also. So I came across This link. I got my solution as follows: When you are working with iOS7 UIAlertView works fine but if you are working with iOS8 you have to use