You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hackiftekhar , thanks for response quickly , please check the attached. You can see the black bar at the bottom.
The code used:IQKeyboardManager.sharedManager().preventShowingBottomBlankSpace = true
Activity
hackiftekhar commentedon Oct 15, 2014
Added
preventShowingBottomBlankSpace
bool to not show bottom blank space between UIkeyboard and View.preventShowingBottomBlankSpace
default toYES
.Added demo for 'preventShowingBottomBlankSpace' #93.
dongmai commentedon Apr 15, 2016
Seems it doesn't work on iOS 9.3. Whatever I set the property to false or true, it wont work.
hackiftekhar commentedon Apr 15, 2016
Could you please share an screenshot of issue you are getting?
dongmai commentedon Apr 15, 2016
@hackiftekhar , thanks for response quickly , please check the attached. You can see the black bar at the bottom.
The code used:
IQKeyboardManager.sharedManager().preventShowingBottomBlankSpace = true
hackiftekhar commentedon Apr 15, 2016
Hmm, looks like you set
keyboardDistanceFromTextField
to something about 100-200, but still this shouldn't happen.dongmai commentedon Apr 15, 2016
No, I didn't touch
keyboardDistanceFromTextField
property.dongmai commentedon Apr 15, 2016
I used a ScrollView there to make it scrollable to select fields.
hackiftekhar commentedon Apr 15, 2016
Are you sure your scrollView is calculating correct contentSize?
dongmai commentedon Apr 18, 2016
Actually I didn't touch contentSize, I do auto layout config all on Storyboard. It displays fine when keyboard isn't showing. Weird!!!
hackiftekhar commentedon Apr 18, 2016
Then could you please share a demo project?
forsan commentedon Jun 27, 2016
Same issue here. iOS 9.3 before this version its working correctly.
preventShowingBottomBlankSpace = false or true same behavior.
hackiftekhar commentedon Jun 28, 2016
@forsan @dongmai Could you please share a demo project so that I can debug it?
Added demo for 'preventShowingBottomBlankSpace' #93.
NikKovIos commentedon Aug 23, 2017
Same issue still exists.
(I changed the backgroud color from black to white with
UIApplication.shared.keyWindow?.backgroundColor = UIColor.white
)ankitjaiswal1994 commentedon Sep 26, 2018
Adding this to appdelegate resolved my problem.
pradnyadikle4 commentedon Dec 14, 2020
Adding
viewdidappear
textField.becomeFirstResponder()
and
https://stackoverflow.com/questions/4374436/how-to-detect-when-keyboard-is-shown-and-hidden/27087733#27087733
and
fixed my issue.