I am working on an mobile tracing app for the iPhone. I want to capture the picture of user without user interaction. I have searched on Google but found two links that don't meet my requirements. I found that we can do this by using AVCam and AVFoundation. Is there any sample code related to this? Do you have sample code?