Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
771 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 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...