Or you could use:
<input type="file" ... >
See: iOS 11 its not me its you (tags: iOS11, PWA, Camera)