iOS8 AVCaptureDevice improvements and swift.