Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
770 views
in Technique[技术] by (71.8m points)

create hyperlink in sms in iPhone

Is it possible to create a hyperlink in an sms in an iPhone?

For example, if I want the word 'foo' hyperlinked in HTML then I'll write <a href="http://foo.com">foo</a> in a normal situation.

If I want to have a certain word in my sms to be hyperlinked to something, is there any way I can do this? Like "I have a <a href="http://foo.com">surprise</a> for you" and the receiver taps on the hyperlinked word 'surprise' which will take the user to the destined page.

Any suggestions as to how this can be done? Examples and samples welcome!

Thanks in advance :)

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

No, you cannot use html tags in sms / text messages. All you can do is insert the URL without the tag. It then depends on the receivers device whether the URL is presented to the user as link or as plain text.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...