Iphone web view during use of Camera -
is possible open webview during use of camera in app.if possible plz let me know.
you try:
- (bool)startcamerapickerfromviewcontroller:(uiviewcontroller*)controller usingdelegate:(id<uiimagepickercontrollerdelegate>)delegateobject { //nslog(@"008 ::create postcard :: start photo camera"); if ((![uiimagepickercontroller issourcetypeavailable:uiimagepickercontrollersourcetypecamera]) || (delegateobject == nil) || (controller == nil)) { return no; } uiimagepickercontroller *picker = [[uiimagepickercontroller alloc] init]; picker.sourcetype = uiimagepickercontrollersourcetypecamera; picker.delegate = self; uiview *overlay = [[uiview alloc]initwithframe:cgrectmake(x, y, w, h)]; // overlay.transform = cgaffinetransformmakerotation(m_pi / 2.0); // overlay.backgroundcolor = [uicolor redcolor]; {create webview here} [overlay addsubview:webview]; [webview release]; [picker.cameraoverlayview = overlay; [controller presentmodalviewcontroller:picker animated:yes]; return yes; }
if have enough recources on phone might work guess
Comments
Post a Comment