I've seen a lot of html that behaves like an iPhone UI开发者_JAVA技巧. Is there a library for this? Any tutorial/guides in building these html? See screenshot for an example.
I've used the ComponentOne iPhone Library. It does exactly what you're looking for.
Now, in all honesty, I ran into a lot of bugs when I worked with it 2 or 3 months ago. Their components worked fine when you wanted results like what you find in their site, but as soon as I got into dynamically generating data and using AJAX to update fields, I started finding many, many bugs.
In fairness, the tool is new and that was a few months ago. Its quite possible they have worked out those bugs. Additionally, I was able to get around them (after much finagling).
Here is the Live Demo you can view from your iPhone.
Apple's got pretty straightforward documentation for the HTML and CSS.
精彩评论