Either using a UIImagePicker Controller or AVFoundation I need to capture or record the video where not only camera output but also overlay subviews should be recorded. I have seen lots of example to add the overlay image to camera preview but what i want is not only overlay image or text preview but actual recording of the overlay in the final video output.Either using a UIImagePicker Controller or AVFo