iOS8 新特性

2023-05-16

苹果公司在WWDC 2014上发布了许多新特性,让我们一起来看看都有哪些内容~

Contents

. App Extensions
. Touch ID Authentication
. Photos
. Games
. Health Kit Framework
. Home Kit Framework
. iCloud
. Handoff
. Unified Storyboards for Universal Apps
. Additional Framework Changes


1. App Extensions

苹果公司新开放了以上几种Extension Point,但不支持第三方应用自己设置的扩展功能点。

Extension point

Example extension that helps users:

Today (iOS and OS X)

Get a quick update or perform a quick task in the Today view of Notification Center

(A Today extension is called a widget)

Share (iOS and OS X)

Post to a sharing website or share content with others

Action (iOS and OS X)

Manipulate or view content within the context of another app

Photo Editing (iOS)

Edit a photo or video within the Photos app

Finder (OS X)

Use a remote file storage service in OS X

Storage Provider (iOS)

Choose a document from among the set of documents the current iOS app can access

Custom keyboard (iOS)

Replace the iOS system keyboard with a custom keyboard for use in all apps


这些Extensions的设计注意事项和针对自有App 可能的功能点:

App Extension

设计注意事项

可能的功能点

Today

轻量化、单屏设计、数据实时更新

订单消息/收货通知/今天活动/锁屏卖点(Wut匿名聊天/广告)

Share

多分享渠道、预览功能、

社交分享

Action

Share button使用、系统UI

更多的应用场景

Photo Editing

仅包含原图和修改参数、内存压力

图像相关Apps的福音

Storage Provider

差网络、弱连接、服务器故障、文件损坏等

Group Apps数据共享

Custom Keyboard

人性化UI,帖合app主题

适应多种键盘



2. Touch ID Authentication

指纹身份认证, 相对连接线的密码认证来说安全了很多,使用方便了很多.现在苹果开放给APP使用。


3. Photos

图像展示和编辑、多app图片共享

> Photo Framework

模型化(PHAsset, PHAssetCollection, PHCollectionList),修可以直接共享到PHPhotoLibrary,可供别的app使用

PHPhotoLibrary作为图像编辑管理中心,可以监控所有修改动作(- photoLibraryDidChange:)

预先下载和缓存机制—the PHCachingImageManager subclass adds bulk preloading

图片内容编辑,存储了每次的编辑数据,最新数据在PHAdjustmentData

> Manual Camera Controls

AVAudioBuffer / AVAudioChannelLayout / AVAudioEngine / AVAudioEnvironmentDistanceAttenuationParameters / AVAudioEnvironmentReverbParameters / AVAudioFile / AVAudioFormat 开放了对于音频的属性(音轨、衰减强度、输入输出流...)修改等通用功能

AVAudioNode 抽象类,音频产生、处理、IO相关

AVCaptureAutoExposureBracketedStillImageSettings / AVCaptureManualExposureBracketedStillImageSettings图像曝光相关


4. Games

> Metal

默认库,GPU加速,3D渲染

基于A7,C++编写,Metal SL

主要应用于高质量动画、游戏等

> Scene Kit & Sprite Kit

OS X 10.8中出现,首次开放到iOS

        physics engine(很炫的虚拟物理场)

> AV Audio Engine


5. Health Kit Framework

相当于构建了一个庞大的健康数据库,存放和health有关的一切数据,被授权的app可以使用这些数据进行操作。这样的好处是减少数据冗余,增加数据的准确性,便于管理。


6. Home Kit Framework

苹果公司在家用智能体系的布局,未来我们可以很轻松的实现对家用电器的异地操作。比如,通过Siri或者app控制,只需要说一句“睡觉”,可能就可以执行一系列操作(group controls)——关窗/拉窗帘/关灯/关门。


7. iCloud

利用iCloud实现数据共享,如果app的数据设置为public,还可以被其他app访问,可以更好的进行数据管理。比如脉搏信息和跑步信息就可以综合来看,从而得出用户的体能情况。


8. HandOff

可以实现异地办公,如正在电脑上编辑邮件(文档,照片),突然有急事离开。此时可以拿起手机继续编辑。又比如上班途中正在浏览网页,到了公司直接打开电脑继续浏览。前提:OS X 10.10 + iOS 8,且需要登录同一个iCloud ID。


9. Unified Storyboards for Universal Apps

> regular & compact 两种size type
> 每个View有自己的size class 供屏幕适配
> UIViewController通过viewWillTransitionToSize:withTransitionCoordinator: 方法来进行size class change


具体代码实现等原文信息请戳此处

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

iOS8 新特性 的相关文章

随机推荐