Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone: Camera Preview Overlay

How do I add an overlay (UIImageView) to the camera preview and handle touches on this?

My previous attempts to do this (e.g. use UIImagePickerController and add the image as a subview) have failed.

like image 436
Stefan Avatar asked Jun 16 '09 13:06

Stefan


1 Answers

This tutorial explains it: http://www.musicalgeometry.com/?p=821

Just add a UIImage in the overlay view instead of the red area shown in the tutorial.

like image 80
dtt101 Avatar answered Oct 14 '22 09:10

dtt101