You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
activation of the PushNote makes keyboard disappear #2
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...).
Replace "UIWindowLevelStatusBar" mentioned in the above comments with "UIWindowLevelAlert", works perfectly without compromising on statusbar overlap or keyboard disappearance.
Activity
avielg commentedon 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 commentedon Jul 15, 2014
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 commentedon 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 commentedon Sep 6, 2014
Bumping for a better solution.
T0xicMatter commentedon Apr 28, 2015
Replace "UIWindowLevelStatusBar" mentioned in the above comments with "UIWindowLevelAlert", works perfectly without compromising on statusbar overlap or keyboard disappearance.
modify spec avielg#2