Closed oscarfung closed 9 years ago
awesome, thanks! do you mind adding a pull request?
I will add a pull request, thanks!
Please check the pull request: https://github.com/wimagguc/ios-custom-alertview/pull/71
thanks @oscarfung, this is merged now :)
Hi,
I tried to add a UITextView to the custom alert, but the alert will disappear when the keyboard is presented in iOS 8, landscape mode. I fix this issue by modifying the method -keyboardWillShow:
Since iOS 8 will return the correct frame in landscape mode, we don't need to exchange its width and height. I add one more condition NSFoundationVersionNumber <= NSFoundationVersionNumber_iOS_7_1 to resolve this issue.