Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
iOS App Programming Guide phần 6
Đang chuẩn bị liên kết để tải về tài liệu:
iOS App Programming Guide phần 6
Quỳnh Như
52
11
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tất cả bạn phải làm là ghi đè lên các phương pháp trong các đối tượng thích hợp để xử lý những sự kiện. Đối với điều khiển, UIKit đơn giản hoá hơn nữa bằng cách xử lý các sự kiện liên lạc cho bạn và gọi mã tùy chỉnh của bạn chỉ | CHAPTER 3 App States and Multitasking To configure a VoIP app you must do the following 1. Add the UIBackgroundModes key to your app s Info.plist file. Set the value of this key to an array that includes the voip value. 2. Configure one of the app s sockets for VoIP usage. 3. Before moving to the background call the setKeepAliveTimeout handler method to install a handler to be executed periodically. Your app can use this handler to maintain its service connection. 4. Configure your audio session to handle transitions to and from active use. Including the voip value in the UIBackgroundModes key lets the system know that it should allow the app to run in the background as needed to manage its network sockets. An app with this key is also relaunched in the background immediately after system boot to ensure that the VoIP services are always available. Most VoIP apps also need to be configured as background audio apps to deliver audio while in the background. Therefore you should include both the audio and voip values to the UIBackgroundModes key. If you do not do this your app cannot play audio while it is in the background. For more information about the UIBackgroundModes key see Information Property List Key Reference. For specific information about the steps you must take to implement a VoIP app see Tips for Developing a VoIP App page 95 . Downloading Newsstand Content in the Background A Newsstand app that downloads new magazine or newspaper issues can register to perform those downloads in the background. When your server sends a push notification to indicate that a new issue is available the system checks to see whether your app has the UIBackgroundModes key with the newsstand-content value. If it does the system launches yourapp if it is notalready running so that it can initiate the downloading of the new issue. When you use the Newsstand Kit framework to initiate a download the system handles the download process for your app. The system continues to download
TÀI LIỆU LIÊN QUAN
iOS App Programming Guide
iOS App Programming Guide phần 1
iOS App Programming Guide phần 2
iOS App Programming Guide phần 3
iOS App Programming Guide phần 4
iOS App Programming Guide phần 5
iOS App Programming Guide phần 6
iOS App Programming Guide phần 7
iOS App Programming Guide phần 8
iOS App Programming Guide phần 9
crossorigin="anonymous">
Đã 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.