Uses the new API for scanning in iOS7