Siding against Apple, a federal judge has refused to dismiss a lawsuit alleging that the company’s Photos app violates an Illinois biometric privacy law that restricts companies from collecting
“faceprints.”

The ruling stems from a class-action complaint brought in March by Roslyn Hazlitt and several other Illinois residents who alleged …