You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let typeDetails = NSMutableAttributedString()
let attachment = NSTextAttachment()
attachment.image = Img.checked
attachment.bounds = CGRect(x: 0, y: 0, width: 10, height: 10)
let attachmentStr = NSAttributedString(attachment: attachment)
typeDetails.append(attachmentStr)
pdf.addAttributedText(typeDetails)
that would be the way it is done. but for whatever reason images are not accepted in attributed string here.
trying to find a solution for the exact issue myself
Is there a way of adding checkboxes?
Also can I add a string and an image besides the string?
Something like:
Do you want to participate? "Image or checkbox here"
The text was updated successfully, but these errors were encountered: