TAILIEUCHUNG - Programming the iPhone User Experience phần 9

hoặc dấu hiệu cao cấp khác của đối tượng được gán cho tế bào. Người dùng có thể nhận được thông tin bổ sung cho mỗi hàng bằng cách khai thác hàng. Khi một người sử dụng vòi nước hàng, một sự kiện được gửi đến các đại biểu của bảng, mà là một đối tượng phù hợp với giao thức | Simpo PDF Merge and Split Unregistered Version - http Rotation Support You can switch an iPhone between portrait and landscape orientations by turning the device in increments of 90 degrees. View controllers let developers handle changes in orientation as they occur without requiring explicit access to the accelerometer. The most common behavior when orientation changes from the primary to the secondary mode is to redraw and refresh the layout of all onscreen views. This may simply involve changing the position and size of subviews. A change in orientation can also signal that interaction modes should be switched providing a different view of the application altogether. For example an application may present a table of football scores when the device is in portrait mode and a chart of those scores when the device is rotated. The decision to change interaction patterns based on device orientation can be complicated. If the alternate view of the data is a supplement to the core functionality of the application it can be an interesting example of progressive enhancement. The decision to support rotation should take into account the ways in which users will interact with an application. Views that display lots of text should consider supporting rotation because iPhone users are accustomed to rotating their devices to increase either text size or the character count for each line of text. Both scenarios can improve clarity when reading dense text on a small screen. Supporting basic view rotation is very easy. The UlViewController class defines a suite of methods and properties for handling orientation. The interfaceOrientation property of each UIViewController instance represents the current interface rotation for the view. You should override the shouldAutorotate ToInterfaceOrientation interfaceOrientation method and return YES for all conditions in which rotation should occur - BOOL shouldAutorotateToInterfaceOrientation UIInterfaceOrientation .

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.