Post

Replies

Boosts

Views

Activity

Reply to ios 15.2 beta app stuck
We have encountered the same issue. Our app called PHPhotoLibrary.shared().register(self) without explicitly asking for user authorization first. And it WILL stuck on iOS 15.2. I think this is a bug rather than a feature of the system as the official documentation suggested relying on the system's automatic prompt for user authorization. Explicitly asking for authorization is described as optional. Delivering an Enhanced Privacy Experience in Your Photos App | Apple Developer Documentation The first time your app performs an operation that requires authorization, the system automatically and asynchronously prompts the user for it. Avoid making PhotoKit calls when your app first launches, to avoid interrupting its startup or onboarding process. Instead, make these calls in response to direct user action. Timing the authorization prompt to coincide with a user action provides greater context to the user about why your app is requesting access. You may also programmatically request authorization, which lets you control the timing of the prompt and determine the user’s response. Request authorization only for the level of access required. The following example shows how to request read/write access; if your app only adds photos to the library, instead, request add-only access. We are waiting for Apple to fix this issue. Bob (Zeyu) Huang
Dec ’21