¡@

Home 

2014/10/15 ¤U¤È 10:15:29

iphone Programming Glossary: unlockforconfiguration

Activate the LED for a flashlight app

http://stackoverflow.com/questions/3253187/activate-the-led-for-a-flashlight-app

lockForConfiguration nil device setTorchMode AVCaptureTorchModeOn device setFlashMode AVCaptureFlashModeOn device unlockForConfiguration AVCaptureDeviceInput flashInput AVCaptureDeviceInput deviceInputWithDevice device error nil if flashInput session addInput..

UITextView inputView

http://stackoverflow.com/questions/3539520/uitextview-inputview

How can I make the iPhone 4 LED light fire instantly?

http://stackoverflow.com/questions/3983032/how-can-i-make-the-iphone-4-led-light-fire-instantly

device setFlashMode AVCaptureFlashModeOn session addInput flashInput session addOutput output device unlockForConfiguration output release session commitConfiguration session startRunning self setTorchSession session session release else..

AVAssetWritter does not work with audio

http://stackoverflow.com/questions/5200077/avassetwritter-does-not-work-with-audio

camera hasTorch if camera isTorchModeSupported AVCaptureTorchModeOn camera setTorchMode AVCaptureTorchModeOn camera unlockForConfiguration session commitConfiguration AVCaptureDeviceInput camera_input AVCaptureDeviceInput deviceInputWithDevice camera error nil.. session removeInput microphone_input session removeOutput audio_output session commitConfiguration microphone unlockForConfiguration menu restateConfigiration vid_off play else Start recording vid_on play microphone lockForConfiguration nil session beginConfiguration.. session addInput microphone_input session addOutput audio_output session commitConfiguration microphone unlockForConfiguration menu restateConfigiration video_button setTitle @ Stop forState UIControlStateNormal recording YES NSError error nil NSFileManager..

IPhone iOS 4.3 camera focus square - removeable programatically?

http://stackoverflow.com/questions/5402461/iphone-ios-4-3-camera-focus-square-removeable-programatically