when you implement it thorugh a UIView and not a UIView controller its laggy and a pain in the butt... also apple denies it for being against the "contract"... i had this happen in my app... what i ended up doing was adding a subview (uiView) to my UIViewController and in that UIView it had my normal MainView app but when i pressed a button it set a variable, removed my UIView (my subview) and went back to the UIViewController, in the UIViewController it has an NSTimer and when that variable is set the NSTimer detects it then adds the camera, once the photo is taken it adds back my subview and saves the photo to a UIView
its confusing but not against apples contract
p.s. remember when adding a subview to a UIViewController you cannot say
[self addSubview:myUiView];
you have to say
[self.view addSubview:myUiView];
good luck
|