What is the best layout for a scrollable iPhone with a "detailed view" with variable content?

I am creating an iPhone application based on a navigation controller, and I am wondering how to do this in order to create a detailed view for my application. The part that complicates my efforts: which user interface elements / hierarchy should I use to create a detailed view with a variable width, but with a scroll?

A great example of my purpose is the location, for example, a detailed description of the mobile App Store . Horizontal divisions between title, description, screenshot, etc. They make me believe in a hidden view of the table, but this is just an assumption.

I am currently using UIScrollView for my detailed view, but since I can never be sure of the exact length of my incoming content, my description view ends in either unused space or truncated text. Is there any set of elements that is best suited for displaying this variable-height content in a β€œblock” format (for example, an example), while maintaining the overall scroll ability in the view?

Thanks in advance for your help!

+5
source share
3 answers

, UIWebView. HTML . HTML , , . HTML ,

<div><!-- ARTICLE_TITLE --></div>
+3

, App Store - UITableView. , , UIScrollView.

, NSString sizeWithFont.

+2

, : App Store , "" App Store HTML CSS. , UIWebView -, .

The integrity of the behavior of the iTunes application, although very similar, behaves differently, in a more natural way. I am not sure if this application is implemented in the same way.

0
source

All Articles