Skip to content

jeffreality/iOS-Swift-Camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages