ChrisXu / CXAlertView

Custom alert-view which allow you to add view as main content.
MIT License
323 stars 81 forks source link

AlertView is not moving up when keyboard comes up #12

Open AlexanderZubkov opened 10 years ago

AlexanderZubkov commented 10 years ago

Hello. I've added a textview as a content view and when the keyboard comes up it hides half of alert view, i.e. alert view is not moving up. Is it possible to make it to move up? Thanks.

neywen commented 10 years ago

I had the same issue today, and I chose a way around : I moved the private property alertWindow from CXAlertView.m to the public interface CXAlertView.h , and then : CXAlertView* alert = [[CXAlertView alloc] blah bla ] [...] [alert show]; alert.alertWindow.frame = CGRectMake([...]);

cheers, l.

skx926 commented 10 years ago

That's is a big problem,I got this one too

imironenko commented 10 years ago

I modified CXAlertViewController for solving this issue. Here is some code:

// Handle keyboard show/hide changes

jlubeck commented 10 years ago

Thank you @miriusus !! Make a push request with your code!!!

aelam commented 8 years ago

+1