how to resize an image or done as a NSAttributedString NSTextAttachment (or set its initital size)

You should set bounds form attachment to resize image like this:

attachment.bounds = CGRectMake(0, 0, yourImgWidth, yourImgHeight)

Leave a Comment