iphone - Put another view above self.imagePickerController.cameraOverlayView? -


i want customize new camera overlay view, need figure out 1 way put new view above self.imagepickercontroller.cameraoverlayview.

i have tried ways

[self.view bringsubviewtofront:self.imagepickercontroller.cameraoverlayview];  [self.imagepickercontroller.cameraoverlayview bringsubviewtofront:self.view];  [self.view insertsubview:self.view abovesubview:self.imagepickercontroller.cameraoverlayview]; 

but none can work.

seem way

self.imagepickercontroller.showscameracontrols = no; 

therefore build own components iphone.camera

i think idea cameraoverlayview use base uiview you'd overlay on camera view. main overlay view can transparent, , need place whatever views want overlay on camera subviews of it.

you can order these subviews want within overlay achieve desired visual effects.

additionally, recommend watching wwdc 2010 video session 421 - "incorporating camera , photo library in app", go detail on how manage camera overlay views. believe apple's photopicker sample application shows off.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -