tranvutuan
tranvutuan

Reputation: 6109

customization of the camera overlay

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 enter image description here

However when I run my app, the view is shown at here.enter image description here

I know I have just screwed up somewhere, please advice me about this issue.

Upvotes: 0

Views: 238

Answers (1)

Mat
Mat

Reputation: 7633

You have to set a clearColor on the view, otherwise you can't see the camera layer.

Upvotes: 1

Related Questions