Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App freeze when accessing the Photo library when app is 1st installed on iOS 15.2 #92

Open
outsourcestudio opened this issue Jan 13, 2022 · 1 comment
Assignees
Labels

Comments

@outsourcestudio
Copy link

Context:
Using Xcode 13.2 and building on iOS 15.2 devices
When installing the app for the 1st time on a device or simulator.

https://developer.apple.com/forums/thread/696804

Solution
Before iOS 15.2 version we could register PHPhotoLibrary.shared().register(self) without authorization, in iOS 15.2 it is not possible, you will get an error. You have to request authorization(requestAuthorization(_:)) for register PHPhotoLibrary.shared().register(self).

How to implement it?

@HiveHicks
Copy link
Member

Hey @outsourcestudio, thanks for reporting this bug. Pull request #93 should fix the issue.

@HiveHicks HiveHicks added the bug label Feb 5, 2022
@HiveHicks HiveHicks assigned peskish and unassigned HiveHicks Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants