Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create NSURL But Show Only Link Text

I'm using UIActivityViewController to share a screenshot in my app. From my understanding, we can have a text field, an image, and a URL. What I would like to do is have one of the words in my text field be a clickable URL in itself. Something like,

"Check out my high score in myGameName!" where myGameName is a link to my game's website. Basically what I am going for is just like an html link

<a href="url">Link text</a>

where just the 'Link Text' is actually shown. Is there a way of doing this?

like image 981
Kevin_TA Avatar asked Nov 25 '25 07:11

Kevin_TA


1 Answers

No, the text field/image/URL are all separate items, because some services don't support them "natively".

like image 190
jsd Avatar answered Nov 27 '25 22:11

jsd



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!