0

I connect the framework, like:

class MessagesViewController: JSQMessagesViewController {
    var outgoingBubleImage = JSQMessagesBubbleImage()
}

but it prints the next error:

is not a valid initializer for JSQMessagesBubbleImage. Use initWithMessageBubbleImage:highlightedImage: instead.'

Why this error appears?

4

2 回答 2

0
  • (UIImage *)jsq_circularImage:(UIImage *)image withDiameter:(NSUInteger)diameter highlightColor:(UIColor *)highlightedColor

// NSParameterAssert(image != nil);

于 2015-11-20T04:19:30.797 回答
0
var outgoingBubbleImageData = JSQMessagesBubbleImage();

错误错误

于 2015-11-20T01:57:05.370 回答