I have a requirement like add one circle to the camera view and capture the photo in that circle only. How can I do this.Thanks in advance.
You can OverLay a view above your View Please refer following Link
iPhone sdk - Use a custom camera
And for taking the pic in a circle you can take screenshot of that particular area when user slick on take picture button
UIGraphicsBeginImageContextWithOptions(vw.frame.size, NO, [[UIScreen mainScreen] scale]);
CGContextRef context = UIGraphicsGetCurrentContext();
[vw.layer renderInContext:context];
UIImage * img UIGraphicsGetImageFromCurrentImageContext();
Hope this will help you to build your own logic
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.