iOS10新特性整理

apple关于iOS10新特性介绍

iOS10新特性个人总结iOS9.3~iOS10 API的变化

(OC 加入:CallKit、Intents、IntensUI、Messages、Speech、UserNotifications、UserNotificationsUI、VideoSubscriberAccount。      swift加入:CallKit、iAd、Intents、IntensUI、Messages、Speech、UserNotifications、UserNotificationsUI、VideoSubscriberAccount;移除:iAdjS、Twitter)关于iOS10新特性推荐博客

SiriKit

提供语音识别和处理的服务,涉及到的框架Intents.framework(获取和解析结果)和IntentsUI.framework(反馈结果);SiriKit可支持视频电话、消息、语音支付和收款、语音搜索照片、预定行程等。SiriKit扩展阅读

以下是apple对于Intents和IntentsUI两个框架的介绍

The Intents framework (Intents.framework) supports the handling of SiriKit interactions. You use the classes of this framework to define an Intents extension, which is an app extension that processes user requests originating from Siri or Maps. When the user requests your app services through one of these conduits, the system forwards those requests to your Intents extension for handling. You use the classes of this framework to receive the data from the user and to provide an appropriate response.

The Intents UI framework (IntentsUI.framework) supports the creation of an Intents UI extension, which is an optional app extension that displays custom content in the Siri or Maps interfaces. An Intents UI extension requires a corresponding Intents extension, which handles intents and provides an appropriate response. The Intents UI extension provides only the interface elements needed to display that response to the user.

需要掌握:intents处理流程和生命周期、Intents、IntentsUI的了解和使用

Messages App

实际上是个extension,用户可以创建与消息应用程序进行交互的extension。用户可以创建两种类型的extension:Sticker pack、iMessage app(需要导入Messages.framework框架)

User Notification

iOS10引入了UserNotifications.framework框架,支持本地推送和远程推送,同时推出了UserNotificationsUI.framework允许用户自定义本地推送和远程推送的外观。关于UserNotification框架重构

UserNotification推荐博客

关于UserNotifications和UserNotificationsUI两个框架的介绍

The UserNotifications framework (UserNotifications.framework) supports the delivery and handling of local and remote notifications. You use the classes of this framework to schedule the delivery of local notifications based on specific conditions, such as time or location. Apps and extensions also use this framework to receive and potentially modify local and remote notifications when they are delivered to the user’s device.

The User Notifications UI framework (UserNotificationsUI.framework) lets you customize the appearance of local and remote notifications when they appear on the user’s device. You use this framework to define an extension that receives the notification data and provides the corresponding visual representation. Your extension can also respond to custom actions associated with those notifications.

需要掌握:推送处理流程、推送各个版本之间的差异、UserNotifications和UserNotificationsUI两个框架的使用

Sppech

提供语音识别的服务,使用Speech.framework还可以进行语音录制等。

使用Sppech构建一个语音转文本的app


更多关于iOS10

你可能感兴趣的:(iOS10新特性整理)