Questions tagged [messagekit]

A UI Library for adding "Messages" like Chat to any iOS Application. A community-driven replacement for JSQMessagesViewController.

111 questions
0
votes
1 answer

Message Input Bar not pushing up the screen. Using IQKeyboard manage pushing the navigation bar also but I don't want that. #messagekit

Using the Message Kit to chat with users. Message Input Bar is not pushed up while typing. Is there anything needed to do for this.
0
votes
3 answers

How can i set offset of messageViewController in MessageKit?

my messageViewController of Messagekit is showing messages like this , how can i set offset of messages to show below the navigation bar ? my code for messageViewController Layout func configureView(){ scrollsToBottomOnKeyboardBeginsEditing =…
Hanzala Raza
  • 149
  • 1
  • 16
0
votes
1 answer

MessageKit animation after click on message

I tried added in my app the same animation which, we can find in messenger, after click on some message, app shows date label. I can showed this date, but i can't add smooth animation. I tried added uiview.animate(withDuration), but in another topic…
Triker
  • 11
  • 4
0
votes
1 answer

Add Admob banner to messagekit

how can I add admob banner to messageviewcontroller of messagekit? I have tried. The ad is loaded but it not visible. I would like to add the banner to the top of view. Please help. final class ChatViewController: MessagesViewController,…
Pinto
  • 13
  • 3
0
votes
1 answer

Custom cell in MessageKit

I am trying to add a custom cell for gif in MessageKit, i want same as MediaMessageCell, only the difference will be the UIImageView replaced with GPHMediaView, I extended the MessageContentCell and made a CustomClass. CustomChatCell.swift open…
Amalendu Kar
  • 458
  • 1
  • 6
  • 17
0
votes
0 answers

MessageKit Swift didSelectURL doesn't work

I'm trying to open url from messages and i'm using 3.0.0-beta-swift5 version of MessageKit. I implemented the delegate methods. func detectorAttributes(for detector: DetectorType, and message: MessageType, at indexPath: IndexPath) ->…
0
votes
0 answers

MessageKit chat messages appearing on the same side

I'm incorporating MessageKit into my app, I've finally got messages to send and receive but unfortunately all messages appear on the same side. I've printed the values of the array and it's showing the correct IDs. On the actual message screen the…
techgirl
  • 293
  • 1
  • 3
  • 18
0
votes
0 answers

Incorrect sender name showing in chat using MessageKit

I've integrated MessageKit into my project, I'm using MySQL as my db and PHP for my APIs. I've been able to pull messages from the db and display them; but the name of the sender is replaced with the current user that's logged in. I've printed the…
techgirl
  • 293
  • 1
  • 3
  • 18
0
votes
1 answer

MessageKit messages keep switching sides

I am implementing a Chat between driver and user in a cab app. I am getting the message from API and displaying it in chat but the chat flips depending on the ID of the last msg I just want to add the incoming msg on the left side of the…
0
votes
1 answer

UIImagePickerController not initiating next function

I'm using Swift 5 and have integrated MessageKit into my app. Here's the expected functionality: User selects the image via picker uploadImage function is initiated Image is uploaded and displayed What's actually happening: User selects the…
techgirl
  • 293
  • 1
  • 3
  • 18
0
votes
1 answer

Editing MessageKit layout

This is my first time using MessageKit. I am trying to customize my view but I can't find any helpful information on how to do so like setting insets and changing color of background. I want to start the view from below the title bar and change…
0
votes
1 answer

Push on other ViewController from ChatViewController created with MessageKit

I use MessageKit for create Chat in my App. In ChatViewController which i created programmatically I added rightBarButtonItem with user picture. I want to add func which will be redirect on UserProfileViewController if other user hits on…
0
votes
1 answer

Message Kit Message DataSoure Delegates not called

Using an older version of MessageKit, I made some changes to the library to get rid of the errors due to it being written in an older Swift version. I integrated the Chat App into my own project, but the message text does not leave the message input…
0
votes
2 answers

MessageKit MessageInputBarDelegate not triggering

I am trying to use MessageKit inside my application, and I have the view loading and showing messages. However, the "Send" button never triggers the messageInputBar delegate and I am unsure why. There is not much to hook up, if I downgrade to…
Anthony Taylor
  • 3,073
  • 3
  • 21
  • 30
0
votes
2 answers

Listener not firing when user hits send using 'MessageKit' library

I'm attempting to implement a simple messaging application but the MessageInputBarDelegate methods are not firing. Other extensions such as MessagesDisplayDelegate appear to fire as expected. I'm using Swift 4.4.2 pod file : use_frameworks! target…
blue-sky
  • 51,962
  • 152
  • 427
  • 752