更新时间:2023-02-22 12:03:52
检查 + [PHPhotoLibrary authorizationStatus]
- 如果没有设置,它将返回 PHAuthorizationStatusNotDetermined
。 (然后,您可以在同一个类上使用 + requestAuthorization:
请求访问。)
Check +[PHPhotoLibrary authorizationStatus]
– if not set, it will return PHAuthorizationStatusNotDetermined
. (You can then request access using +requestAuthorization:
on the same class.)