TAILIEUCHUNG - Lập trình ứng dụng cho iPhone part 5

Using iUI for web apps Tạo ứng dụng web với WebKit cho bạn rất nhiều năng lượng và cho phép rất nhiều tính đa dạng. Nhưng nó không chỉ là mối quan tâm thực sự: những gì nếu bạn muốn tạo các ứng dụng web có giao diện giống hệt như các ứng dụng trên iPhone? Những lý do để làm như vậy là hiển nhiên. Bạn có thể tận dụng những bài học mà người dùng đã học được bằng cách sử dụng giao diện người dùng iPhone của Apple chuẩn. . | 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. 80 Creating your own iPhone UI 81 Creating your own iPhone UI The iPhone UI has quite a few unique and distinctive features. If you want to model its UI inside a web app you must consider all of them. We ll provide some guidance by highlighting the most important UI features in this section. We ll start out by looking at the iPhone s graphic interface but the UI goes far beyond that. The iPhone s UI also depends on a data-driven content paradigm and the usage of those unique design choices that we highlighted back in chapter 1. The graphical interface As shown in figure the standard look of an iPhone application is quite distinctive and thus can be easily modeled in your own Back Button Chrome Action Button Separated Choices Figure The iPhone has a unique look and feel that should be emulated in iPhone web apps. web pages. What follows are

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.