How do I create message chat bubbles on the iPhone

2019-03-18 20:42发布

问题:

I was wondering if there is a way to build those chat bubbles programmatically from iOS? If not iOS' own, then are there any decent open source libraries that will let me do that?

回答1:

Some examples here and here. You may also want to look at the resizableImageWithCapInsets method of the UIImage class