How to customize keyboard height calculating logic? (extra space between keyboard and message input) #113
tezpark
announced in
8. Commons
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Customer request
Guide & Snippet
When using a tabbar and it is configured as a custom rather than a tabbar in the UITabbarController, the internal function that calculates the height value of the tabbar internally in Sendbird UIKit may not calculate the value correctly.
In this case, any ViewController class that inherits from SBUBaseViewController can override the functions that calculate the two height values below and modify them to the correct values.
getAdjustedKeyboardHeight(with:)
getTabBarHeight()
The example below is based on
SBUGroupChannelViewController
, one of the many ViewControllers.SBUBaseViewController
can be customized in the following ways.SBUViewControllerSet
.Beta Was this translation helpful? Give feedback.
All reactions