Using AVFoundation APIs to record a movie with location metadata
Last Revision: | Version 1.0, 2014-09-17 Demonstrates the use of AVFoundation file writing APIs to store timed metadata into a movie. |
Build Requirements: | Xcode 5.0 or later, iOS 8 or later |
Runtime Requirements: | iOS 8 or later |
This sample shows how to use AVAssetWriterInputMetadataAdaptor API to write timed location metadata, obtained from CoreLocation, during live video capture. The captured movie file has video, audio and metadata track. The metadata track contains location corresponding to where the video was recorded.
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-09-17