iOS 9新特性的代码示例:iOS-9-Sampler

jopen 5年前

iOS 9新特性的代码示例:iOS-9-Sampler

如何构建

JUST BUILD with Xcode 7.

目录

地图自定义

Flyover can be selected with new map types, and Traffic, Scale and Compass can be shown.

iOS 9新特性的代码示例:iOS-9-Sampler

Text Detector文字探测器

Text detection using new detector type "CIDetectorTypeText".

iOS 9新特性的代码示例:iOS-9-Sampler

New Image Filters新的图像过滤器

New filters of CIFilter which can be used for Still Images.

iOS 9新特性的代码示例:iOS-9-Sampler

NOTE: 29 filters are supported in this example, however "CIEdgeWork" and "CISpotLight" don't work correctly with current code. I would much appreciated your pull request!

Audio Unit Component Manager音频单元组件管理器

Retrieve audio unit components using AudioUnitComponentManager and apply them to a sound using some new methods. If there are some Audio Unit Extensions, they will be also shown in the components list.

iOS 9新特性的代码示例:iOS-9-Sampler

Speech Voices

Example for new properties which are added to AVSpeechSynthesisVoice such as language, name, quality...

iOS 9新特性的代码示例:iOS-9-Sampler

CASpringAnimation

Animation example using CASpringAnimation.

iOS 9新特性的代码示例:iOS-9-Sampler

UIStackView

Auto Layout example using UIStackView.

iOS 9新特性的代码示例:iOS-9-Sampler

Selfies & Screenshots

Fetch photos filtered with new subtypesPHAssetCollectionSubtype.SmartAlbumSelfPortraitsandPHAssetMediaSubtype.PhotoScreenshotwhich are added to Photos framework.

iOS 9新特性的代码示例:iOS-9-Sampler

String Transform

String transliteration examples using new APIs of Foundation framework.

iOS 9新特性的代码示例:iOS-9-Sampler

Search APIs

Example for Search APIs using NSUserActivity and Core Spotlight.

iOS 9新特性的代码示例:iOS-9-Sampler

Content Blockers

Example for Content Blocker Extensions.

iOS 9新特性的代码示例:iOS-9-Sampler

SFSafariViewController

Open web pages with SFSafariViewController.

iOS 9新特性的代码示例:iOS-9-Sampler

Attributes of New Filters

Extract new filters of CIFilter usingkCIAttributeFilterAvailable_iOS. There are 41 new filters.

iOS 9新特性的代码示例:iOS-9-Sampler

Low Power Mode

Detect changes of "Low Power Mode" setting.

New Fonts

Gallery of 31 new fonts.

iOS 9新特性的代码示例:iOS-9-Sampler

watchOS-2-Sampler

You can check the examples for watchOS 2 features on watchOS-2-Sampler!!

iOS 9新特性的代码示例:iOS-9-Sampler

项目主页:http://www.open-open.com/lib/view/home/1442476953977