Sorry for this simple question but I am looking for the design pattern for adding a simple HTML like page to an iPhone app.
My intuition tells me that making a View with a full screen WebView inside is obviously the easiest option, but I think a UIScrollView i开发者_如何学编程s better.
What's the best practice?
I basically want to have some text, float some images, add a few links etc.
Should I use WebView or ScrollView?
Thank you,
Kent
Well you're going to need a UIWebView
if you want to display the contents of a local or remote web page. You would want to use a UIScrollView
if you wanted to draw all of the content programmatically.
I think you want a UIWebView
.
精彩评论