MCQs > IT & Programming > Swift > Choose the correct answer? import Foundation import AVFoundation func startCapture()

Swift MCQs

Choose the correct answer?

import Foundation

import AVFoundation

func startCapture()

{ if let device : AVCaptureDevice = AVCaptureDevice.defaultDeviceWithMediaType(AVMediaTypeAudio){ do { self.session = AVCaptureSession() try device.lockForConfiguration() let audioInput = try AVCaptureDeviceInput(device: device) device.unlockForConfiguration() // audio capture operation … … } catch { } } }

Answer

Correct Answer: If audio device was already used, this function cannot work

Explanation:

Note: This question has more than 1 correct answers

Note: This Question is unanswered, help us to find answer for this one

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it