wimagguc/ios-custom-alertview

View has incorrect orientation when app is in landscape mode

Closed this issue · 6 comments

When app opens in landscape mode the view is shown in portrait mode
sample
The custom view is a UITextView

Thank you very much for your newer version 0.9.
I confirm the issue. We have a tableview in the alert dialog.
When you make appear the dialog in portrait mode, dialog is shown correctly, as you can see in the following picture:
schermata 2015-04-07 alle 12 29 29
When I rotate the screen, also the dialog rotates correctly:
schermata 2015-04-07 alle 12 29 41

But when I'm already in landscape mode and I activate the dialog, it occurs a wrong visualization:
schermata 2015-04-07 alle 12 30 14
That's terrible when I rotate the phone again.
schermata 2015-04-07 alle 12 30 28

Please fix this issue, it's very important for us.
Thank you for your job!

Aww I see this, thanks. Will fix it asap.

also I forgot to say that the problem is only on iOS 8. In iOS 7 the alert dialog works correctly.
Thank you again

I just released a fix for this in 6ad951c. Can you confirm that it works? Thanks again for spotting this bug.

Dear Richard,
I tested your last version and I confirm that bug is solved.
Thank you very much for your immediate reply! Keep up the good work!

Thanks @snakew79 :)