开发者

Formatted Text and Popovers in iOS4

I'm working on a prototype app that has a challenging behavior. I thought I'd ask for advice before really tearing into it...

Part of the app has an area of text that needs to be formatted in a manner where there will be a description of an item in bold, followed by one or more detail items:

Item Description: Item Detail 1. Item Detail 2. Item Detail N.

In most cases these items will require multiple lines, so word wrapping will be necessary.

The the user will be able to tap on any bolded item description to expose a popover with options they can select that will populate the plain开发者_开发百科 item details.

I was about to attempt doing this with a webview, to be able to format the text, provide natural word wrapping and use hyperlinks to call methods, etc... As I look into this more, I can see it will be a pretty weighty task and want to make sure there aren't alternatives to this before I head down what looks like a fairly long, dark tunnel.

I'm still fairly new to iOS dev, so bear with me if I come back with "noob" questions.

Thanks in advance!


The alternative is Core Text but it is a fairly long, dark tunnel, too.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜