jessesquires / JSQMessagesViewController

An elegant messages UI library for iOS
https://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
Other
11.14k stars 2.81k forks source link

Long Press Recognizer for all cell types #691

Closed pflenker closed 9 years ago

pflenker commented 9 years ago

Hi,

I'm trying to figure out on how to detect a long pressure on a cell. I found older issues where you pointed users to cell. longPressGestureRecognizer, but this property doesn't seem to be present in the most recent version.

Additionally, I am having trouble on implementing canPerformAction in the most recent version of the library - I can only get it as far as showing "Copy", but not my own custom actions. On Media cells, canPerformAction is never called.

Any ideas on how to get this working?

Happy holidays!

Best regards,

Philipp

jessesquires commented 9 years ago

hey @pflenker

  1. custom actions, see #569 (also note the other issues that reference this one)
  2. media cells, the library specifically ignores these right now

Regarding (2), at the time of the 6.0 release, I hadn't decided on how it should be implemented for each type of media. For example, for a video should it copy the URL or the video itself? Anyway, I would like to add some default implementations for media cells soon.

jessesquires commented 9 years ago

Opened #693

pflenker commented 9 years ago

thanks!

On 24 December 2014 at 17:22, Jesse Squires notifications@github.com wrote:

Open #693 https://github.com/jessesquires/JSQMessagesViewController/issues/693

— Reply to this email directly or view it on GitHub https://github.com/jessesquires/JSQMessagesViewController/issues/691#issuecomment-68061782 .