Swift : No Matter what I do CIDetector is always nil

前端 未结 4 1695
清歌不尽
清歌不尽 2021-01-03 16:52

i don\'t understand why this code doesn\'t work, the detector is always nil with the CIDetectorTypeQRCode constant, everything work with CIDetectorTypeFace. I Supect a bug f

4条回答
  •  既然无缘
    2021-01-03 17:08

    I found that using on a device resolved this issue. The simulator seemed to always return nil for me.

提交回复
热议问题