I want to add a UIButton
to the end of NSAttributedString
. I was unable to do that as NSAttachment
only takes a UIImage
.
So, I've added a UIImage
to NSAttributedString
as attachment and saved its reference. Now i want to obtain the position of this UIImage
on UIScreen
, UIWindow
or Superview
to put a UIButton
at the position of image. Is it possible?