Questions tagged [jsqmessagesviewcontroller]

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

385 questions
1
vote
3 answers

Delete message using JSQMessageViewController crashed

How to handle delete action in JSQMessageController, I have implemented method override func collectionView(collectionView: JSQMessagesCollectionView!, didDeleteMessageAtIndexPath indexPath: NSIndexPath!) { …
iOS_Raj
  • 200
  • 1
  • 1
  • 10
1
vote
1 answer

Adding name label and date label for JSQMessages

I'm trying to add a topLabel to the JSQMessageCollectionViewCell and am implementing the correct method, but nothing is showing up. Here is my code: override func collectionView(collectionView: JSQMessagesCollectionView!,…
Sampath Duddu
  • 277
  • 1
  • 5
  • 14
1
vote
1 answer

JSQMessagesViewController back button not visible

I follow this basic tutorial to start playing with JSQMessagesViewController: https://www.raywenderlich.com/122148/firebase-tutorial-real-time-chat How can I do to have a back button in the ChatViewController? When debugging it seems to be here but…
Thomi
  • 639
  • 2
  • 9
  • 21
1
vote
2 answers

Not getting chat bubble using JSQMessageViewController in ios

I am not getting Chat Bubble in JSQMessageViewController but not able to get what to method to be add to get chat bubble in my chat page in IOS I am getting only Textbox and send button when I type text and click send not getting bubbles I am new…
VyTcdc
  • 986
  • 10
  • 32
1
vote
1 answer

'UICollectionView must be initialized with a non-nil layout parameter' while using JSQMessagesCollectionView

I am using JSQMessagesViewController to add chat functionality to my app. Inside a UIViewController, I initialised a JSQMessagesCollectionView thus: JSQMessagesCollectionView *jsq = [[JSQMessagesCollectionView alloc] initWithFrame:CGRectMake(0, 0,…
1
vote
2 answers

position jsqmessage bubble

i've a problem with the position of my JSQmessage bubble. when i "send" it the position is good but when i change the view then come back the bubble is more at left than before. (if i send a new one all bubble come back to a good position). can…
1
vote
1 answer

JSQMessages send media

Im building a small chat app using JSQMessages, and trying to send images from photo library or camera. I got to the point where I saved the image to parse backend but I cannot display it on screen. I found few solutions but they were in obj-C, I…
Terry
  • 107
  • 2
  • 11
1
vote
1 answer

Swift 'init()' is unavailable issue in Xcode 7.2 JSQMessages

When I want to use init() JSQMessages there is an error like that. How can I fix that?
Erkam D.
  • 69
  • 5
1
vote
1 answer

Handling failed message with JSQMessageViewController

I have successfully implemented sending and receiving message with JSQMessageViewController. However, I would like to add the visual effect on each message to distinguish whether the message has been successfully sent, or failed due to network…
howly
  • 417
  • 1
  • 3
  • 12
1
vote
2 answers

Custom cell for JSQMessages

I'm attempting to create a custom message cell that has an icon (on the right hand side for incoming and left hand side for outgoing) I've subclassed JSQMessagesCollectionViewCellOutgoing and have the icon displayed where I want. great. What I…
adamf
  • 63
  • 1
  • 9
1
vote
1 answer

JSQMessagesViewController timestamp inside bubble

I'm using JSQMessagesViewController in my chat app. I would like to add a small timestamp text inside the bubble on its lower right corner. I have searched a lot but could not find any way to accomplish this using the API provided. Any idea how I…
danflu
  • 325
  • 8
  • 25
1
vote
2 answers

Swift How can i make custom cell for the collection of jsqmessageViewcontroller

i wold like to get explanation on how to do it, what classes to subclass . what to override and so on. for the of jsqmessageViewcontroller framework for example outgoing cell , how to build my out layout and labels any help will be appreciate and…
1
vote
1 answer

I am getting no visible @interface while using JSQSystemSoundPlayer in Objective-C with Swift

I am getting this error: /: No visible @interface for 'JSQSystemSoundPlayer' declares the selector 'playAlertSoundWithFilename:fileExtension:' I am creating a chat app with JSQMessagesViewController. Here is the code: if (asAlert) { …
ojassethi
  • 379
  • 1
  • 5
  • 16
1
vote
1 answer

JSQMessages Blank after Send

I am attempting to implement JSQMesages to my app, however, I can't figure out why when I press the send button all of the messages disappear. I have went step by step and can't figure it out, when the chat initially loads, everything is there. But…
trever
  • 961
  • 2
  • 9
  • 28
1
vote
1 answer

Change position of Avatar in JSQMessageViewcontroller

Can we able to change the postion of avatar / profile image from bottom to top similar to skype in single thread page. Note: Github also follows the same.
user5421830