How to detect the Simulator and Device code in Xcode?
<p>I am using AVCaptureSession class to capture video. This class only active for Device mode. Other functionality working both simulator and device. How to handle this class for Simulator mode. Whether i have to command this class? please advice.</p>
