AGPushNote
AGPushNote copied to clipboard
activation of the PushNote makes keyboard disappear
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)
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 (:
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..
Cuz the status bar information might overlap the AGPushNote view and it might look bad… If it looks good than nothing to worry about… (:
Bumping for a better solution.
Replace "UIWindowLevelStatusBar" mentioned in the above comments with "UIWindowLevelAlert", works perfectly without compromising on statusbar overlap or keyboard disappearance.