SlackTextViewController
SlackTextViewController copied to clipboard
Bottom margin on iOS 10.
- [x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
- [x] I've read and agree to the Code of Conduct.
- [x] I've searched for any related issues and avoided creating a duplicate issue.
Description
Runs the project with iOS 10.0
Reproducible in:
- [x] This is reproducible in the sample project. iOS version(s): 10.0 Device(s): iPhone 6S plus
Hi everyone I would like know if you are already working with support iOS 10, we're using your library into our project, but we detected that we have a bottom margin on the ChatView, also it's showing into your example project. I know that it's really new, but I would like know.
Any fast solution ?

it looks like the margin is the same size of input bar
What version of the library are you using?
Also, are you using the inverted mode?
PS: Nice looking chat app btw!
Hi!
I'm using 1.9.4 version, with inverted mode.
I just see that you have a new release.
Notice: When the keyboard is showing and dismiss the bottom margin fixed
It would be helpful if you could repro this on the sample project.
Hi, I have the same issue. iOS 10, 1.9.4 version, inverted mode. You just need to change tableview cell to a custom class. There is a bottom margin until you bring up the keyboard first time.
@jderes @dzenbot
I solved added the next lines on your viewWilAppear
[self setAutomaticallyAdjustsScrollViewInsets:NO]; [[self tableView] setContentInset:UIEdgeInsetsZero];
@cbedoy
Thanks for your solution! Just setting automaticallyAdjustsScrollViewInsets = false in viewWillAppear in my SLKTextViewController subclass fixed this for me. I didn't need to reset the content inset as well.
I sent a pull request with that fixed on
https://github.com/slackhq/SlackTextViewController/pull/531
Thanks @cbedoy! Will have a look very soon.
Hey, I just wanted to say that this was also happening to me, and automaticallyAdjustsScrollViewInsets = false did fix it for me too.
yep did the trick for me as well..
https://github.com/slackhq/SlackTextViewController/pull/531