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

activation of the PushNote makes keyboard disappear #2

Open
roiholtzman opened this issue Jul 14, 2014 · 5 comments
Open

activation of the PushNote makes keyboard disappear #2

roiholtzman opened this issue Jul 14, 2014 · 5 comments

Comments

@roiholtzman
Copy link

I have a view that the keyboard appears in. But when the PushNote appears on top, the keyboard disappears. It comes back when the PushNote disappears.

(BTW- this is a really nice project)

@avielg
Copy link
Owner

avielg commented Jul 15, 2014

My guess is that it has something to do with setting the app delegate as UIWindowLevelStatusBar. It happens on the .m file on line #128 (You can see it here: https://github.com/avielg/AGPushNote/blob/master/AGPushNote/AGPushNoteView.m#L128).

I am doing this to make the view overlap with the status bar.... If you don't need this functionality you can try removing this line, and it might solve the keyboard issue (But then you might want to make the whole view 20 points larger in height...).

Also thanks for the compliments (:

@roiholtzman
Copy link
Author

Thanks. It helped :)
But why did you say I would want to make the view 20 points larger in height? it seems it's in the same height as before..

@avielg
Copy link
Owner

avielg commented Jul 15, 2014

Cuz the status bar information might overlap the AGPushNote view and it might look bad… If it looks good than nothing to worry about… (:

@sheharyarn
Copy link

Bumping for a better solution.

@T0xicMatter
Copy link

Replace "UIWindowLevelStatusBar" mentioned in the above comments with "UIWindowLevelAlert", works perfectly without compromising on statusbar overlap or keyboard disappearance.

furuyamah added a commit to furuyamah/AGPushNote that referenced this issue Nov 6, 2015
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

4 participants