Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 1.13 KB

README.md

File metadata and controls

29 lines (17 loc) · 1.13 KB

iOS Swift Camera

Photo and Video capture and display using Swift 2.0 (for iOS)

Overview

This is the Swift version of code that I have used in multiple projects, for camera or video recording and playback

Display

Home Screen

iPhone showing home screen

The main screen has a collectionView which shows all images or video thumbnails that have been recorded. They are saved locally to the Documents folder.

Camera

iPhone showing camera screen (from Simulator) with flash enabled iPhone showing camera screen (from Simulator) with flash disabled

When taking a photo, the flash can be toggled on/off (the button is not displayed on the iPad).

Pinching will zoom the image to 2x.

Video

iPhone showing video recording screen (from Simulator) with full 15 seconds iPhone showing video recording screen (from Simulator) with 8 seconds remaining

When recording video, there is a 15 second (configurable in code) limit.