Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save FlorianHardyDev/b7ffc2b6d5df850a9f29c81662b9e83a to your computer and use it in GitHub Desktop.

Select an option

Save FlorianHardyDev/b7ffc2b6d5df850a9f29c81662b9e83a to your computer and use it in GitHub Desktop.

Revisions

  1. FlorianHardyDev renamed this gist Mar 19, 2021. 1 changed file with 0 additions and 0 deletions.
  2. FlorianHardyDev created this gist Mar 19, 2021.
    5 changes: 5 additions & 0 deletions FloatingButtonController_keyboardDidShow.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    @objc
    func keyboardDidShow(note: NSNotification) {
    window.windowLevel = UIWindow.Level(rawValue: 0)
    window.windowLevel = UIWindow.Level(rawValue: .greatestFiniteMagnitude)
    }