File Upload and EXIF in mobile Safari

前端 未结 3 1129
心在旅途
心在旅途 2021-01-18 01:10

As noted in these questions, there are cases where foto uploads on iOS have their geolocation and other EXIF metadata removed (in safari):

https://apple.stackexchang

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-18 02:02

    Little hard to understand your use case here, but if the idea is to show EXIF has been removed (or not) when a user uploads a file from inside your app, you could inject a script to include this library https://github.com/exif-js/exif-js and then show the result of the EXIF data in a UIAlertView?

提交回复
热议问题