Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
chrisverra
3,760 Pointshow to start app with camera
Hi,
I want to try and make a clone of : http://msqrd.me/
however, i cant seem to figure out how to let the app start on the camera in stead of having to click a button to access camera
Could somebody advice me?
Chris
2 Answers
Moritz Lang
25,909 PointsHi Chris,
you can make your own CameraController using AVFoundation to accomplish it. Important Keywords are e.g. AVCaptureDevice, AVCaptureSession & AVCaptureInput. If you decide to make your own CameraController you have also the advantage to design the interface as you want it to be.
I also picked a tutorial for you. It's very well written but you have to be careful because it's in Swift 1.
Happy Coding, Moritz
chrisverra
3,760 PointsHi Moritz,
Thanks for your advice, I also stumbeled upon this tutorial. although outdated, still is fine :) Apart from this i think core image would let me do the facial recognition.
Any general tips are very welcome.
Cheers! Chris