开发者

Use camera as overlay for uiview iPhone

I was wondering if it was possible to make the camera feed appear in a custom screen. Basically I have a uiview that I want the camera feed to appear in. I would then have custom buttons on the screen and stuff like that to take pictures and then email out the pi开发者_StackOverflow中文版ctures.

Is there an easy way to do this, that will not get rejected upon app review? I have read before about using UIImagePicker and using cameraOverlayView, but I could not get that to work.

Sample code is greatly appreciated. Thanks in advance for your help!


Yes, you can use AVCaptureVideoPreviewLayer from the AVFoundation framework.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜