Change size of NSTextAttachment Image?
I am using the following code to format the raw HTML of an RSS feed into an NSAttributedString . The HTML contains <img> tags that cause the image to be attached as an NSTextAttachment into the NSAttributedString . The problem is that the image is far too large for the UITextView that the attributed string is placed in. Is there a way I can manipulate the size of the image from within the attributed string? Below is an excerpt from the whole attributed string that represents the image attachment. { NSAttachment = "<NSTextAttachment: 0x16d29450> \"e0e1d483a922419807a2378a7ec031af.jpg\"";