When keyboard shows top navigation bar black on iPhone X and tab bar compresses iOS swift error
Problem:
When keyboard shows in one page to move the inputfield up then the top navigation bar shows some black and bottom tab bar compresses its images and all.
Solution:
If you are used the IQKeyboard Manager in the cocoapods then its the problem for that above.So go ahead and add the below line to your Appdelegate didfinishLaunching and complie it it will be solved.
IQKeyboardManager.sharedManager().canAdjustAdditionalSafeAreaInsets = true
When keyboard shows in one page to move the inputfield up then the top navigation bar shows some black and bottom tab bar compresses its images and all.
Solution:
If you are used the IQKeyboard Manager in the cocoapods then its the problem for that above.So go ahead and add the below line to your Appdelegate didfinishLaunching and complie it it will be solved.
IQKeyboardManager.sharedManager().canAdjustAdditionalSafeAreaInsets = true
Comments
Post a Comment