From iPhone 8 to SE (second Generation) it works. Otherwise I don't know. Had an 8 camera installed in the SE today, also because the SE camera was not focusing. Thought the work was in vain because the camera still didn't work after the exchange. Had then changed the resolution in the camera settings and made a backup to reset it. Tried the camera again after the backup and suddenly it worked correctly.