Reputation: 1784
I have a tab bar controller. I want to have a camera always open on one of the tabs, but underneath the camera, you can still see the rest of the tabs. How do I make it so that the camera doesn't take up the whole screen, but is just above the tab bar?
(By the way, to be specific, I'm not actually using a UIIMagePickerController, but the ZBarReader) Thank you
Upvotes: 0
Views: 402
Reputation: 1784
The comment was right: Did you try to add it as a sub view to a superview that itself is smaller than the screen?
Upvotes: 1
Reputation: 1679
As far as I know you can't.
You should use AVCaptureSession
- check out Erica Sadun iOS 5 Cookbook - Chapter 7 and it should be pretty easy.
Upvotes: 0