Cannot create a CIDetector of type CIDetectorTypeQRCode

Originator:sam.jc.davies
Number:rdar://20684947 Date Originated:24-Apr-2015
Status:Duplicate Resolved:
Product:iOS SDK Product Version:8.3
Classification:Bug Reproducible:Yes
 
Summary:
It's possible to create CIDetectors for faces and for rectangles, but since iOS 8.3, CIDetectorTypeQRCode always returns nil.

Steps to Reproduce:
1. Open a playground
2. Attempt to create a CIDetector with:
 CIDetector(ofType: CIDetectorTypeQRCode, context: nil, options: nil)

The attached zip file contains a sample playground and an image of the output. You'll notice that the OS X playground works OK.

Expected Results:
An instance of some CIDetector subclass

Actual Results:
nil

Version:
iOS 8.3 / Xcode 6.3.1

Notes:
much love :)

Configuration:
iOS playground & simulator. Not tested on device.

Attachments:
'QRDetectorNil.zip' was successfully uploaded.

Comments

Duplicate of 18988309 (Closed)

By sam.jc.davies at May 8, 2015, 2:48 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!