Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrongs while its subview have a textfield #33

Open
xuqee opened this issue Jan 10, 2014 · 3 comments
Open

wrongs while its subview have a textfield #33

xuqee opened this issue Jan 10, 2014 · 3 comments

Comments

@xuqee
Copy link

xuqee commented Jan 10, 2014

I added a textfield on the containerview ,but when i want to input some words the keyboard was covered!!!

@albertoramonj
Copy link

Maybe it's not the best way but I resolved this by adding:

#define KEYBOARDSIZE 216

and changing this line in the "show" method:

[self setFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height - KEYBOARDSIZE)];

Hope it helps.

@wimagguc
Copy link
Owner

Hey @nnarayann,
Are you using the latest code? This commit should have taken care of this (although only works with the non-deprecated init function and in case the keyboard is not visible before the dialog opens).
If you have some example code to look at or need help, please feel free to find me elsewhere - perhaps in a DM on Twitter.

@albertoramonj
Copy link

Nop, I'll try it for sure and will comment here. By the way, any chance to improve the performance in older iPhones?.

Thanks a lot for your work!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants