avcam

Muting AVCapture shutter sound on iPhone [duplicate]

℡╲_俬逩灬. 提交于 2019-11-28 14:25:06
This question already has an answer here: AVFoundation, how to turn off the shutter sound when captureStillImageAsynchronouslyFromConnection? 9 answers I'm using the Apple AVCam code with AVCamCaptureManger to capture a still image. I don't display any camera views to the user, the image is just automatically taken behind the scenes without the user's involvement. However, it still plays a shutter sound when I call [captureManger captureStillImage] and I don't want it to play a shutter sound. There are many apps in the AppStore that "secretly" take a picture without a shutter sound, so I'm

Muting AVCapture shutter sound on iPhone [duplicate]

▼魔方 西西 提交于 2019-11-27 08:27:36
问题 This question already has answers here : AVFoundation, how to turn off the shutter sound when captureStillImageAsynchronouslyFromConnection? (9 answers) Closed 5 years ago . I'm using the Apple AVCam code with AVCamCaptureManger to capture a still image. I don't display any camera views to the user, the image is just automatically taken behind the scenes without the user's involvement. However, it still plays a shutter sound when I call [captureManger captureStillImage] and I don't want it to

UIWebView to Play Local and downloaded Video

99封情书 提交于 2019-11-27 06:25:58
问题 I want to play downloaded video using UIWebview. I get webkiterrordomain code=204 error. but if i play video from resources folder it run perfect. //from resources folder run perfect NSString *tempurl = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"video.mp4"]; //from downloaded file NSString *tempurl = downloaded path; NSURL* urlLocation = [NSURL fileURLWithPath:tempurl]; [webView loadRequest:[NSURLRequest requestWithURL:urlLocation]]; Thank you. 回答1: Solution is