iOS Samples

# Tracking Objects Example

iOS 11 example using the Vision framework to detect and track objects in a video stream.

ARKit Sample

Simple example using ARKit in iOS 11.

ARKit Sample "Placing Objects"

iOS 11 ARKit example, placing pre-built objects in AR space.

ARKitAudio

Runs an ARKit world tracking session with content displayed in a SceneKit view. To demonstrate plane detection, the app simply places a 3D model onto the first plane that ARKit detects. If the model's position is outside the current field of view of the camera, the app uses SceneKit's positional audio feature to indicate which direction to turn the device to see the model.

AVCam

Using AVFoundation to Capture Photos and Movies

AVCamBarcode

Demonstrates how to use the AVFoundation capture API to detect barcodes and faces.

CoreML and Vision Example

iOS 11 example combining the Vision framework with CoreML.

CoreML Example

iOS 11 example using a simple CoreML model.

CoreML Image Recognition

iOS 11 example using different CoreML image recognition models.

CoreML with Azure Custom Vision Service

iOS 11 example combining the Vision framework with CoreML and a trained model from Azure's Custom Vision Service.

Drag and Drop CollectionView Example

iOS 11 example implementing drag and drop for images in collection view and table view.

Drag and Drop Custom View Example

iOS 11 example implementing drag and drop with a custom view.

Drag and Drop Example

iOS 11 example implementing drag and drop for photos, using a corkboard metaphor.

Drag and Drop TableView Example

iOS 11 example implementing drag and drop in a table view.

Even/Odd Number Drag

Sample app demonstrating how to use the iOS 11 Drag and Drop APIs in an iPhone application.

Fox 2: SceneKit

This sample code demonstrates the following SceneKit features that were added in iOS 11, tvOS 11, and macOS 10.13: * Camera constraints define the camera behaviour of the app/game * A new physically-based depth of field effect achieved with “bokeh” * Screen space GPU tessellation (using Pixar’s openSubdiv) * Animation of character tones using a new animation engine (and API) * Cascaded shadow maps * GameplayKit integration

Large Titles support

iOS 11 large titles for the navigation bar.

Local Authentication using Face ID or Touch ID

Demonstrates how to use FaceID and TouchID to authenticate the user.

MapKit Sample "Tandm"

iOS 11 MapKit example showing pins grouped at different zoom levels.

Mastering Drag and Drop in iOS 11

Sample app demonstrating how to use the iOS 11 drag and drop APIs to copy data between iPad applications.

MusicKitSample

iOS 11 example to demonstrate the capabilities of MusicKit, including accessing the Apple Music catalog and playing songs, albums, and playlists using Media Player.

NFCTagReader

This sample shows how to integrate Core NFC Framework into your application to enable NFC tag reading.

PDFAnnotationWidgets

iOS 11 PDFKit example that adds input fields to a PDF document.

PDFDocumentWatermark

iOS 11 PDFKit example to add a watermark to a PDF document.

SamplePhotoApp

Basic Photos-like app which introduces the Photos framework.

SiriKit Sample "TasksNotes"

iOS 11 SiriKit example demonstrating how to respond to Siri requests for the new Lists and Notes domain.

Vision Face Detection Example

iOS 11 example using the Vision framework to detect faces.

Vision Rectangle Detection Example

iOS 11 example using the Vision framework to detect rectangles.