ios - Assertion failure in +[JSQMessagesAvatarImageFactory in ios8 -


i work on chat application using jsqmessageviewcontroller third party framework (same whatsapp type). displaying list of chat members in tableview. when click 1 chat item needs navigate chat view controller. requirement.

now, when click 1 chat member in list view following exception class jsqmessagesavatarimagefactory.m:

“assertion failure in +[jsqmessagesavatarimagefactory jsq_circularimage:withdiameter:highlightedcolor:], /users/pods/jsqmessagesviewcontroller/jsqmessagesviewcontroller/factories/jsqmessagesavatarimagefactory.m:148” , “terminating app due uncaught exception 'nsinternalinconsistencyexception', reason: 'invalid parameter not satisfying: image != nil'”

i using code of project: https://github.com/jessesquires/jsqmessagesviewcontroller using framework through cocoa pods.

you forgot include avatar images in project (under images.xcassets), shown below:

enter image description here


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -