-[AVCaptureMetadataOutput setMetadataObjectTypes:] – unsupported type found. Use -availableMetadataObjectTypes.

解决办法

      [AVCaptureMetadataOutput setMetadataObjectTypes:]方法要在对话添加输出之后调用(swift: session?.addOutput(output))

posted @ 2015-07-10 11:39  optt  阅读(972)  评论(0编辑  收藏  举报