iOS 平台功能iOS platform features

iOS 12 簡介Introduction to iOS 12

建置 Xamarin.iOS 應用程式時,本文件將說明 iOS 12 功能可供使用。This document describes iOS 12 features available for use when building Xamarin.iOS applications.

iOS 11 簡介Introduction to iOS 11

本文件說明 iOS 11 和 Xcode 9,例如 ARKit、 核心 ML、 Core NFC、 拖曳和卸除、 MapKit、 PDFKit、 SiriKit 和願景的全新和更新功能。This document describes the new and updated features in iOS 11 and Xcode 9, such as ARKit, Core ML, Core NFC, Drag and Drop, MapKit, PDFKit, SiriKit, and Vision. 它會連結到指南描述如何使用 Xamarin.iOS 中使用這些功能。It links to guides that describe how to use these features with Xamarin.iOS.

iOS 10 簡介Introduction to iOS 10

iOS 10 包含數個新的 Api 和服務,可讓您開發以新特性和功能的應用程式。iOS 10 includes several new APIs and services that allow you to develop apps with new features and functionality. 使用 iOS 10,應用程式會有新的功能,例如擴充對應、 訊息、 電話和 Siri。With iOS 10, apps have new abilities such as extending Maps, Messages, Phone and Siri. 本節說明各項,在 Xamarin.iOS 應用程式中善用這些功能的方法。This section shows hows to take advantage of these features in a Xamarin.iOS app.

iOS 9 簡介Introduction to iOS 9

此區段會定義從 iOS 8,以及如何在 Xamarin.iOS 應用程式中使用這些功能升級時,在 iOS 9 中所做的變更。This section defines the changes made in iOS 9 when upgrading from iOS 8 and how to use these features in a Xamarin.iOS app.

iOS 8 簡介Introduction to iOS 8

iOS 8 作業系統進行大量變更,從 iOS 7。iOS 8 made a large number of changes to the operating system from iOS 7. 在這裡,我們示範它們是什麼,以及如何使用它們。Here, we show what they are and how to use them.

iOS 7 簡介Introduction to iOS 7

關於在 iOS 7 中引進的主要新 Api,包括檢視控制器轉換,UIView 動畫、 UIKit Dynamics 和文字套件的增強功能。About the major new APIs introduced in iOS 7, including View Controller transitions, enhancements to UIView animations, UIKit Dynamics, and Text Kit.

iOS 6 簡介Introduction to iOS 6

IOS 6,包括集合檢視、 傳遞套件、 活動套件和社交架構所引進的功能的說明。Explanations of the features introduced in iOS 6, including Collection Views, Pass Kit, Event Kit, and the Social Framework.

Apple PayApple Pay

Apple Pay 引進了與 iOS 8 中,讓使用者支付實體產品,例如食物、 娛樂與透過其 iOS 裝置的成員資格。Apple Pay was introduced alongside iOS 8, enabling users to pay for physical goods such as food, entertainment, and memberships via their iOS devices. 它是適用於 iPhone 6 和 iPhone 6 加號,並也可以與在市集購買的 Apple Watch 配對。It is available on iPhone 6 and iPhone 6 Plus, and can also be paired with the Apple Watch for in-store purchases. 在 iPhone 上使用時,它會使用 Touch ID,來確認和授權使用者的信用卡或轉帳卡的交易。When used on an iPhone, it uses Touch ID as a way to confirm and authorize transactions to a user's credit or debit card.

3D Touch3D Touch

這篇文章會提供和簡介使用新的 3D 觸控 Api 將壓力機密筆勢新增至您的 Xamarin.iOS 應用程式執行新的 iphone 6s 和 iPhone 6s Plus 裝置。This article will provide and introduction to using the new 3D Touch APIs to add pressure sensitive gestures to your Xamarin.iOS apps that are running on the new iPhone 6s and iPhone 6s Plus devices.

CallKitCallKit

在 iOS 10 中新的 CallKit API 提供 VOIP 與 iPhone UI 整合並提供熟悉的介面給終端使用者體驗的應用程式的方式。The new CallKit API in iOS 10 provides a way for VOIP apps to integrate with the iPhone UI and provide a familiar interface and experience to the end user. 使用此 API 使用者可以檢視和互動 VOIP 電話從 iOS 裝置鎖定畫面及管理使用的手機應用程式的連絡人我的最愛最近檢視。With this API users can view and interact with VOIP calls from the iOS device's Lock Screen and manage contacts using the Phone app's Favorites and Recents views.

連絡人和 ContactsUIContacts and ContactsUI

使用 iOS 9 的引進,Apple 已發行兩個新的架構ContactsContactsUI、 該取代現有的通訊錄及 iOS 8 及更早版本所使用的地址通訊錄 UI 架構。With the introduction of iOS 9, Apple has released two new frameworks, Contacts and ContactsUI, that replace the existing Address Book and Address Book UI frameworks used by iOS 8 and earlier.

文件選擇器Document Picker

文件選擇器可讓應用程式之間共用的文件。The Document Picker allows documents to be shared between apps. 在 iCloud 或不同的應用程式的目錄中,可能會儲存這些文件。These documents may be stored in iCloud or in a different app’s directory. 透過一組所共用的文件文件提供者擴充使用者在其裝置上安裝。Documents are shared via the set of Document Provider Extensions the user has installed on their device.

EventKitEventKit

iOS 有兩個行事曆相關應用程式內建: 行事曆應用程式,並提醒應用程式。iOS has two calendar-related applications built-in: the Calendar Application, and the Reminders Application. 夠簡單了解如何行事曆應用程式管理行事曆的資料,但提醒應用程式是較不明顯。It’s straightforward enough to understand how the Calendar Application manages calendar data, but the Reminders Application is less obvious. 提醒實際上可以有與其相關聯的原因,完成之時在時的日期等。因此,iOS 會儲存所有行事曆資料,無論行事曆事件或提醒,在單一位置,稱為行事曆資料庫Reminders can actually have dates associated with them in terms of when they’re due, when they’re completed, etc. As such, iOS stores all calendar data, whether it be calendar events or reminders, in one location, called the Calendar Database.

iOS 延伸模組iOS extensions

專門擴充功能,為 iOS 8 中引進UIViewControllers,會依標準的內容內的 iOS 滿足下列條件為內通知中心,如使用者所要求執行自訂的鍵盤類型特製化輸入或其他內容,例如編輯的相片的延伸模組可以在其中提供的特殊效果的篩選器。Extensions, as introduced in iOS 8, are specialized UIViewControllers that are presented by iOS inside standard contexts such as within the Notification Center, as custom keyboard types requested by the user to perform specialized input or other contexts like editing a photo where the Extension can provide special effect filters.

圖形和動畫在 iOS 中Graphics and animation in iOS

圖形和動畫在 iOS 中的涵蓋 iOS CoreImage、 Core Graphics 等核心動畫中的核心圖形概念。Graphics and Animation in iOS covers core graphics concepts in iOS such as CoreImage, Core Graphics and Core Animation.

HandoffHandoff

Apple 已引進遞移式 iOS 8 和 OS X Yosemite (10.10) 提供通用的機制,讓使用者傳輸已啟動他們的裝置,其中的活動中執行相同的應用程式或支援相同的活動的另一個應用程式的另一個裝置。Apple introduced Handoff in iOS 8 and OS X Yosemite (10.10) to provide a common mechanism for the user to transfer activities started on one of their devices, to another device running the same app or another app that supports the same activity.

HealthKitHealthKit

健全狀況套件會提供安全的資料存放區,如使用者的健康狀態相關資訊。Health Kit provides a secure datastore for the user’s health-related information. 健全狀況套件應用程式可能會與使用者的明確權限,讀取和寫入此資料存放區以及加入相關的資料時收到通知。Health Kit apps may, with the user’s explicit permission, read and write to this datastore and receive notifications when pertinent data is added. 應用程式可以呈現資料,或使用者可以使用 Apple 提供的健全狀況應用程式,來檢視其所有資料的儀表板。Apps can present the data, or user’s can use the Apple's provided Health app to view a dashboard of all their data.

HomeKitHomeKit

Apple 已引進 HomeKit 在 iOS 8 探索及通訊與使用者的首頁中的家用自動化裝置提供通用架構中。Apple introduced HomeKit in iOS 8 to provide a common framework for discovering and communicating with home automation devices in a user's home. HomeKit 提供設定裝置和設定動作,以控制它們的常見平台。HomeKit provides a common platform for configuring devices and setting up actions to control them.

App 內購買In-app purchasing

iOS 應用程式可以銷售數位產品或服務使用 StoreKit – 一組以進行使用者透過其 Apple id。 與財務交易 Apple 伺服器進行通訊的 iOS 所提供的 ApiiOS applications can sell digital products or services using StoreKit – a set of APIs provided by iOS that communicate with Apple’s servers to conduct financial transactions with the user via their Apple ID. StoreKit Api 會擷取產品資訊和進行交易與 – 沒有任何使用者介面元件。The StoreKit APIs are primarily concerned with retrieving product information and conducting transactions – there is no user-interface component. 實作應用程式內購買的應用程式必須建置自己的使用者介面,並追蹤自訂程式碼,以提供必要的產品或服務給使用者的購買項目。Applications that implement in-app purchasing must build their own user interface and track purchased items with custom code to provide the required products or services to the user.

iOS 遊戲 ApiiOS gaming APIs

Apple 已改進數個技術在 iOS 9 遊戲 Api 可讓您更輕鬆地在 Xamarin.iOS 應用程式中實作的遊戲圖形和音訊。Apple has made several technological improvements to the gaming APIs in iOS 9 that make it easier to implement game graphics and audio in a Xamarin.iOS app. 這些包括這兩種方便開發的高階架構和 iOS 裝置的 GPU 經改善的速度和圖形功能的力量。These include both ease of development through high-level frameworks and harnessing the power of the iOS device's GPU for improved speed and graphic abilities.

訊息應用程式整合Message app integration

新增至 iOS 10,訊息應用程式擴充功能則是與整合訊息給使用者的應用程式並為您介紹新功能。New to iOS 10, a Message App Extension integrates with the Messages app and presents new functionality to the user. 延伸模組可以傳送文字、 貼紙、 媒體檔案和互動式訊息。The extension can send text, stickers, media files and interactive messages.

適用於 iPad 的多工Multitasking for iPad

iOS 9 新增多工作業支援同時執行兩個應用程式,在特定的 iPad 的硬體上。iOS 9 adds multitasking support for running two apps at the same time on specific iPad hardware. 適用於 iPad 的多工支援透過下列功能: 透過 投影片,分割檢視 & Picture in Picture。Multitasking for iPad is supported via the following features: Slide Over, Split View & Picture in Picture.

PassKitPassKit

Passbook 是應用程式適用於 Iphone 和 iPod 接觸 ios 6。Passbook is an app for iPhones and iPod touches with iOS 6. 它會儲存和顯示條碼及其他資訊,以連結客戶與 '真實世界' 在電話上的交易。It stores and displays barcodes and other information to link customer transactions on their phone with the ‘real world’. 傳遞所產生的商家並傳送至客戶透過電子郵件、 Url 或從零售商自己 iOS 應用程式。Passes are generated by merchants and sent to the customer via email, URLs or from within a merchant’s own iOS app. Passbook 儲存和組織在手機上的所有階段,並根據日期/時間或裝置的位置在鎖定畫面上顯示傳遞提醒。Passbook stores and organizes all the Passes on a phone, and displays Pass reminders on the lock-screen depending on the date/time or the location of the device.

本文件介紹 Passbook,使用 Xamarin.iOS,傳遞套件 API,並討論如何在您的伺服器上實作傳遞。This document introduces Passbook, using the Pass Kit API with Xamarin.iOS, and discusses how to implement Passes on your server.

PhotoKitPhotoKit

相片套件是新的架構,可讓應用程式來查詢系統映像庫,並建立自訂使用者介面來檢視和修改其內容。Photo Kit is a new framework that allows applications to query the system image library and create custom user interfaces to view and modify its contents. 它包含數個類別,代表影像和視訊資產,以及資產,例如專輯和資料夾的集合。It includes a number of classes that represent image and video assets, as well as collections of assets such as albums and folders.

要求應用程式檢閱Request app review

剛接觸 iOS 10.3,RequestReview()方法可讓 iOS 應用程式以要求使用者評等或檢閱它。New to iOS 10.3, the RequestReview() method allows an iOS app to ask the user to rate or review it. 使用者從 App Store 安裝的傳送應用程式中呼叫這個方法時,iOS 10 會處理整個的評等,和開發人員適用的檢閱程序。When this method is called in a shipping app that the user has installed from the App Store, iOS 10 will handle the entire rating and review process for the developer. 此程序應用程式存放區原則所控管,因為警示可能會或可能不會顯示。Because this process is governed by App Store policy, an alert may or may not be displayed.

搜尋 APISearch APIs

搜尋已展開於 iOS 9,提供絕佳的新方法,來存取資訊和 Xamarin.iOS 應用程式內的功能。Search has been expanded in iOS 9 to provide great new ways to access information and features inside a Xamarin.iOS app. 使用新的應用程式搜尋 Api,應用程式內容會透過焦點以及 Safari 搜尋結果中,遞移式及 Siri 提醒及建議的搜尋。Using the new App Search APIs, app content is made searchable through Spotlight and Safari search results, Handoff and Siri Reminders and Suggestions. 這可讓使用者快速存取活動和您的應用程式內的資訊。This allows users to quickly access activities and information deep within your app.

SiriKitSiriKit

新增至 iOS 10,SiriKit 可讓 iOS 應用程式提供使用應用程式擴充功能和新的 iOS 裝置上使用 Siri 和對應的應用程式的使用者可以存取的服務意圖Intents UI架構。New to iOS 10, SiriKit allows an iOS app to provide services that are accessible to the user using Siri and the Maps app on an iOS device using App Extensions and the new Intents and Intents UI frameworks.

社交架構Social framework

社交架構提供統一的 API 與包括社交網路互動_Twitter_並_Facebook_,以及_SinaWeibo_中國中的使用者。The Social Framework provides a unified API for interacting with social networks including Twitter and Facebook, as well as SinaWeibo for users in China.

語音辨識Speech recognition

iOS 10 包含新的語音 API 可讓應用程式,以支援連續的語音辨識和轉譯的語音功能 (即時或錄製音訊資料流) 成為文字。iOS 10 includes a new Speech API that allows the app to support continuous speech recognition and transcribe speech (from live or recorded audio streams) into text.

TextKitTextKit

文字套件是新的 API,提供功能強大的文字版面配置和轉譯功能。Text Kit is a new API that offers powerful text layout and rendering features. 它建置在核心文字架構的低層級之上,但更容易就能使用比核心文字。It is built on top of the low level Core Text framework, but is much easier to use than Core Text.

Touch IDTouch ID

Touch ID 是在 iOS 7 引進,做為驗證使用者-密碼類似。Touch ID was introduced in iOS 7 as a means of authenticating the user - similar to a passcode. 不過,已限制為解除鎖定裝置、 使用應用程式存放區、 使用 iTunes 及驗證只 iCloud 鑰匙圈。However, it was limited to unlocking the device, using the App Store, using iTunes and authenticating the iCloud keychain only.

使用者通知User notifications

新 iOS 10,使用者通知架構可讓傳遞和本機及遠端通知的處理。New to iOS 10, the User Notification framework allows for the delivery and handling of local and remote notifications. 使用此架構,應用程式或應用程式擴充功能可以排程傳遞本機通知藉由指定一組條件,例如位置或一天的時間。Using this framework, the app or App Extension can schedule the delivery of local notifications by specifying a set of conditions such as location or time of day.

寬色域Wide Color

iOS 10 和 macOS Sierra 增強的擴充範圍像素格式和整個系統,包括架構,例如核心圖形、 Core 映像、 裸機和 AVFoundation 寬色域圖色彩空間的支援。iOS 10 and macOS Sierra enhances the support for extended-range pixel formats and wide-gamut color spaces throughout the system including frameworks such as Core Graphics, Core Image, Metal and AVFoundation. 藉由提供整個圖形堆疊在這種行為,進一步降低與寬的色彩顯示裝置的支援。Support for devices with wide color displays is further eased by providing this behavior throughout the entire graphics stack.

繫結 Objective-CBinding Objective-C

IOS 上工作時,您可能會遇到您要使用第三方 Objective C 程式庫的情況。When working on iOS, you might encounter cases where you want to consume a third-party Objective-C library. 在這些情況下,您可以使用 MonoTouch 的繫結專案建立 C# 繫結至原生的 Objective C 程式庫。In those situations, you can use MonoTouch's Binding Projects to create a C# binding to the native Objective-C libraries. 專案會使用相同的工具,我們使用 C# 將 iOS Api。 本文件說明如何將繫結 Objective C Api。The project uses the same tools that we use to bring the iOS APIs to C#. This document describes how to bind Objective-C APIs.

參考原生程式庫Referencing native libraries

Xamarin.iOS 可支援使用原生 C 程式庫和 OBJECTIVE-C 程式庫連結。Xamarin.iOS supports linking with both native C libraries and Objective-C libraries. 本文件討論如何連結您原生的 C 程式庫與您的 Xamarin.iOS 專案。This document discusses how to link your native C libraries with your Xamarin.iOS project.

內嵌的架構Embedded frameworks

說明如何在 Xamarin.iOS 應用程式中內嵌 OBJECTIVE-C 使用者架構。Explains how to embed Objective-C user frameworks in Xamarin.iOS apps.

例外狀況封送處理Exception marshaling

描述如何 OBJECTIVE-C 與 managed 例外狀況會封送處理原生和 managed 框架之間。Describes how Objective-C and managed exceptions are marshaled between native and managed frames.