Chapter 5. Using iUI for web apps
This chapter covers
- Outlining iPhone web app paradigms
- Using iUI to make web apps
- Applying tips and tricks to iUI apps
Creating web apps with the WebKit gives you a lot of power and allows for a lot of diversity. But it doesn’t address a real concern: what if you want to create web apps that have the same look and feel as native applications on the iPhone?
The reasons for doing so are obvious. You can take advantage of lessons that users have already learned by using Apple’s standard iPhone user interfaces. The question of how to do so, however, is slightly more complex.
Certainly you could do so using the WebKit’s extensions atop HTML, and we’re going to give you the opportunity to do so here by dissecting what makes up the iPhone interface. Unless you have specific needs, however, creating your own interface is probably overkill.
Fortunately, we have another solution to this problem: a third-party library exists that you can use to model the iPhone interface. It’s called iUI, and it’ll be the focus of much of this chapter. But before we get into iUI, let’s see what the iPhone interface looks like.