exif-js / exif-js

JavaScript library for reading EXIF image metadata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IOS14 cannot read exif data

AlanNgaiJX opened this issue · comments

It seems IOS14 cannot read the exif data of photo libary. It might cause by the new privacy system of IOS14. Does anybody have a solution ?

IOS14中的照片图库获取不到exif信息,可能是IOS14加强了隐私保护,有同行大佬有解决方案吗

You have to give more information. Are you getting no exif information at all? Or are specific fields empty?

Perhaps you should ask for the 'location' permission in your iOS app as well in order to get GPS lat and long. As well as permission for the photo's. I assume you have a hybrid app, using javascript since you're using exif-js.

You need to extend the info.plist file for this. Something like in below post dependening on if you're using phonegap or Ionic or the latter. Perhaps you need to remove platform ios and add it again in order to get this right. Since manually overwriting .plist file could be overwritten later.

https://stackoverflow.com/questions/1673579/location-permission-alert-on-iphone-with-phonegap