slackhq / SlackTextViewController

⛔️**DEPRECATED** ⛔️ A drop-in UIViewController subclass with a growing text input view and other useful messaging features
https://slack.com/
MIT License
8.32k stars 1.08k forks source link

iOS 12 bottom bar is not hiding #682

Closed yarodevuci closed 6 years ago

yarodevuci commented 6 years ago

I noticed on iOS 12 bottom bar is not hidden when requested. Also is not clickable either at least. Anyone else noticed that?

damozhang commented 6 years ago

same issue.

iOS 12 on iPhone X

Before hide simulator screen shot - iphone xs - 2018-09-18 at 16 46 36

After call self.setTextInputbarHidden(true, animated: true) simulator screen shot - iphone xs - 2018-09-18 at 16 46 14

Update: My issue have been resolved.

DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
    self.setTextInputbarHidden(true, animated: true)
}
yarodevuci commented 6 years ago

@12789 Hi yes, helped for me too but without adding delay for my case. This is so weird..

10000TB commented 6 years ago

same issue, the async fix also works for me, upvoted!