Questions tagged [inputbaraccessoryview]

7 questions
3
votes
3 answers

MessageKit InputBar is hidden/removed on ViewController dismissal

I am using MessageKit 3.0.0-swift5 branch for chats. Clicking on the message, I am presenting the ViewController. When Viewcontroller is dismissed, I am not able to access InputBar. Has anybody come across this issue? Check the video here. Code: //…
2
votes
1 answer

Handling (or disabling) Memoji in InputBarAccessoryView TextField

I'm building a chat app using MessageKit, Firebase and InputBarAccessoryView pods. I've found out that when I input a Memoji (so, a sticker) in the textfield of the InputBar and press the "send" button, in the database the Memoji will be saved as…
oneshot
  • 591
  • 1
  • 5
  • 27
1
vote
0 answers

MessageKit- SwiftUI Input Bar Placement on top of screen

My application is in SwiftUI. I am implementing Message Kit as a chat feature, however, the input bar placement for the SwiftUI example in MessageKit awkwardly snaps to the top of the screen when the keyboard appears. Current SwiftUI…
aa._.ron
  • 25
  • 3
0
votes
1 answer

How to use async and await on a default function?

I am having a problem when I am trying to add async and await to a default function. The function I am trying to add it to is: func inputBar(_ inputBar: InputBarAccessoryView, didPressSendButtonWith text: String) But it looks like when I add async…
0
votes
1 answer

Button's tap event is not working when keyboard appears

I'm implementing a chatting feature, and I'm facing a problem that SendButton in InputBarAccessoryView doesn't click when the keyboard is up. When the keyboard goes down the button is clicked only then. I don't know why. extension…
ChanSeul
  • 11
  • 3
0
votes
1 answer

How to clear text in MessageKit inputBar after Pressing Send in inputBarAccessoryView

I'm building a real time chat application. Where I use message kit and inputBarAccessoryView library to make a conversation between 2 users. I've used - extension ChatViewController: InputBarAccessoryViewDelegate { func inputBar(_ inputBar:…
mefahimrahman
  • 197
  • 2
  • 6
  • 29
0
votes
0 answers

InputBarAccessoryView view does not show after Tab changed and back

I am using InputBarAccessoryView for an input accessory view of my chat controller. And ChatViewController is part of UITabbarViewCntroller. When open my chat view first time InputBarAccessoryView show but when tab change and back, it is not…
Hindu
  • 2,894
  • 23
  • 41