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

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift