में अभिविन्यास को बहिष्कृत किया गया है यह लगता है कि avcapturevideopreviewlayer के लिए अभिविन्यास की तरह आईओएस 6 में कमी आई है। किसी को भी नया कोड पता है? यहां मेरा वर्तमान (अवमूल्यन) कोड है:आईओएस 6
[self setPreviewLayer:[[AVCaptureVideoPreviewLayer alloc] initWithSession:[self captureSession]]];
[[self previewLayer] setVideoGravity:AVLayerVideoGravityResizeAspectFill];
previewLayer.orientation = UIInterfaceOrientationLandscapeRight;
ओके। ये सही है। लेकिन क्या आपका सवाल था? शायद यह आपकी मदद करेगा: http://stackoverflow.com/questions/12404556/interface-orientation-in-ios-6-0 – NDY