相机覆盖层的定制 [英] customization of the camera overlay
问题描述
我的第一个自定义问题是在.img src ="https://i.stack.imgur.com/HQdWh.png" alt =在此处输入图片描述"
我知道我刚刚搞砸了,请就这个问题向我提出建议.
您必须在视图上设置clearColor,否则您将看不到相机图层.
My first question for customization is at here and with help from Mat. I can customize it. Now I would like to customize the overlay by loading and view from a nib file... What I am to do is
Create another UIViewController called myCustomVIew with its xib
Add a toolbar on top and some buttons onto it
Set controller.cameraOverlay = aView.view
Please take a look at here, so that you can picture what I am doing so far
However when I run my app, the view is shown at here.
I know I have just screwed up somewhere, please advice me about this issue.
You have to set a clearColor on the view, otherwise you can't see the camera layer.
这篇关于相机覆盖层的定制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!