How to detect heic image before upload in JavaScript on iOS11?
It's not as robust as using the mime type, but you can use the heic and/or heif extension to restrict which files can be selected.
For instance:
<input type="file" accept=".heic" class="image-upload-handle" />