Created
May 18, 2021 13:10
-
-
Save matkuznik/9a0f5309e54ca4ee000c41134fedd1e8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ViewController: UIViewController { | |
//Register for notification ... | |
private func addjustSafeAreaTo(keyboardFrame: CGRect) { | |
view.safeAreaInsets.bottom = keyboardFrame.height | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment