美文网首页
iOS10新特性整理

iOS10新特性整理

作者: XiaoYin | 来源:发表于2016-10-10 12:41 被阅读363次

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

相关文章

  • iOS9、iOS10新特性

    iOS10新特性、iOS9新特性

  • iOS10新特性整理

    apple关于iOS10新特性介绍 iOS10新特性个人总结iOS9.3~iOS10 API的变化 (OC 加入:...

  • 拨打电话的三种方法

    iOS10 新特性 拨打电话三种方法:

  • ios10新特性-UserNotification

    ios10新特性-UserNotification 引言:iOS的通知分本地通知和远程通知,iOS10之前采用的是...

  • iOS10新特性

    1.1 SiriKit 所有第三方应用都可以用Siri,支持音频、视频、消息发送接收、搜索照片、预订行程、管理锻炼...

  • iOS10新特性

    Notification(通知)自从Notification被引入后 苹果就不断的更新优化 但之前都是一些较小的改...

  • iOS10新特性

    iOS兼容及新变化http://www.2cto.com/kf/201609/549194.htmlhttp://...

  • ios10 新特性

    iOS10相册相机闪退bug iOS 10 因苹果健康导致闪退 crash ios10相机等崩溃 iOS10 配置...

  • iOS10新特性

    1. 深层定制 tabBar. 通过打印子视图,我们发现 tabBar 的层级结构变化非常大. 在 iOS10中可...

  • ios10新特性

    通过试用iOS10beta版,除了长大了的更强大的Siri主要感受到iMessage更加如微信般强大到除了一般的文...

网友评论

      本文标题:iOS10新特性整理

      本文链接:https://www.haomeiwen.com/subject/cbapyttx.html