Questions tagged [jsqmessagesviewcontroller]

JSQMessagesViewController is an elegant messages UI library for iOS (now deprecated).

385 questions
1
vote
0 answers

jsqmessageviewcontroller text alignment

I have problem on the text alignment when no outgoing avatar. it will reserve some gap on the text like the following: Gap Sample Screen I tried to setup the sender message bubble width with the following code but it will mask the input text (eg…
Marcus
  • 11
  • 3
1
vote
1 answer

Text Field/Send button disappears on keyboard pop on JSQMessagesViewController

Similar to this issue on Github https://github.com/jessesquires/JSQMessagesViewController/issues/2132 on device and in simulator when you tap to enter text in the text field, the keyboard pops and the textfield/send button disappears...I can't…
GarySabo
  • 5,806
  • 5
  • 49
  • 124
1
vote
2 answers

add subview to collectionview cell jsqmessagesviewcontroller

I'm trying to add a subview to each cell (message) of my collectionView (JSQMessagesViewController) to display time of my message, something like this: Here is my code: override func collectionView(_ collectionView: UICollectionView, cellForItemAt…
coldembrace
  • 549
  • 8
  • 19
1
vote
2 answers

Adding View/Buttons on JSQMessageViewController's inputToolbar

i am trying add an additionalButton in inputToolbar of the JSQMessageViewController , but the problem is whenever inputToolbar resign or become firstResponder the frames of inputToolbar's contentView reFrames itself and additionalButton appears over…
iNoob
  • 144
  • 1
  • 15
1
vote
2 answers

Incomming Bubble Image showing with balnk Space how to delete?

In my JSQMessagesViewController, when I load incomming message bubbles, So In that blue bubbles beginning getting space how can remove that space whether anything need to disable??
vara
  • 816
  • 3
  • 12
  • 29
1
vote
1 answer

Getting a collection view's indexPath outside of the class methods (JSQMessagesViewController)

I'm trying to set custom colors for the chat bubbles, depending on the gender of the person who sent the message. Doing so for the outgoing bubble is easy, I just use a switch statement and check my gender dictionary for the value of the current…
KingTim
  • 1,281
  • 4
  • 21
  • 29
1
vote
0 answers

JSQMessagesViewController without cocoa pods

Did anyone tried to install JSQMessagesViewController manually without using cocoa pods? I tried to download JSQMessagesViewController project and add its sdk to my project but it's not working... Do I need to add some binaries? Step by step what I…
birdy
  • 943
  • 13
  • 25
1
vote
1 answer

How can I put an activity indicator on my view until chat is loading?

I want to put a loader so that user can know that chat is being loaded when he first time enter the chat box.
Abrar
  • 341
  • 5
  • 13
1
vote
1 answer

How to stop jsqmessagesviewcontroller indicator spins when video download finished

There is a way to stop the jsqmessagesviewcontroller activity indicator spins when video download finished?
Tom Odell
  • 105
  • 1
  • 1
  • 11
1
vote
1 answer

Assigning avatars from URL string in JSQMessagesController

I couldn't find much of use in the docs, and the sample project in Swift only had hardcoded avatars so that wasn't much help either. I also saw this question but that example was also not applicable in my situation. I have my user sign in with…
KingTim
  • 1,281
  • 4
  • 21
  • 29
1
vote
1 answer

I want to use JSQMessagesViewController without pod install! can I do it?

I open another project in my mac and this won't work because I got Error for JSQMessagesViewController and I think I should Install that so I want to install JSQMessagesViewController to my project ! I have problem with pod install can I use Another…
1
vote
2 answers

Messages rendered halfway off screen?

I'm using the JSQ messages view controller as the detail portion of a master/detail configuration. When I rotate my iPad, the right side of the messages are rendered off the screen. When I call reloadData() the issue goes away. Is this a known…
TALE
  • 960
  • 13
  • 22
1
vote
1 answer

How to add Header/Custom View to JSQMessagesViewController?

I'm using a storyboard to build my UIs. I wasn't able to find same ticket with same question on JSQMessageViewController's repo on Github. Basically, I want to add a custom view, say a header in my controller, like so: What I did so far: Add the…
Citus
  • 331
  • 1
  • 5
  • 14
1
vote
1 answer

Adding messages to a JSQCollectionView from another VC: Swift

To give a brief, I'm using JSQMessagesViewController for a chat based app. The normal adding of messages works fine. Now onto the problem, I'm using push notifications for receiving messages and storing them into core data. The thing I'm stuck at is…
Ameya Vichare
  • 1,119
  • 1
  • 10
  • 22
1
vote
1 answer

The bubble image arrow is always on the right direction. How to change green bubbles' arrow direction to left?

In my JSQMessagesViewController, when I load text message bubbles, the arrow direction is always right side. How to change arrow direction to left for green bubbles?? My Code: @interface AckChatViewController (){ JSQMessagesBubbleImage…
crypt
  • 449
  • 5
  • 15