Skip to content

activation of the PushNote makes keyboard disappear #2

Open

Description

@roiholtzman

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)

Activity

  1. avielg commented on Jul 15, 2014

    @avielg
    Owner

    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 (:

  2. roiholtzman commented on Jul 15, 2014

    @roiholtzman
    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..

  3. avielg commented on Jul 15, 2014

    @avielg
    Owner

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

  4. sheharyarn commented on Sep 6, 2014

    @sheharyarn

    Bumping for a better solution.

  5. T0xicMatter commented on Apr 28, 2015

    @T0xicMatter

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

  6. added a commit that references this issue on Nov 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions