“约”内的超链接文本为iphone应用程序 [英] Hyperlinks within "about" text for iphone application

查看:92
本文介绍了“约”内的超链接文本为iphone应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的第一个简单的iPhone应用程序的最后伸展。我正在建立一个关于视图,用信用/信息/ etc。

I'm on the final stretch of my first simple iPhone application. I'm building an "about" view, with credits/info/etc.

我最不了解的最简单的事情:如何嵌入超链接到文本?我目前使用一个UIVabel的UILabel的文本。

I am failing on the simplest thing: how can I embed hyperlinks into the text? I'm current using a UIView with a UILabel for the text.

我在这里看过,和示例应用程序,但不是在任何地方。我应该使用UIWebView?

I've looked on here, and the sample apps, but not got anywhere. Should I use a UIWebView?

Thx。

推荐答案

是的,使用UIWebView HTML。

Yep, use a UIWebView and put static HTML in it.

像这样:

[myWebView loadHTMLString:@"<html><head></head><body style=\"font-family: sans-serif;\"> .... </body></html>" baseURL:nil];

这篇关于“约”内的超链接文本为iphone应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆