Post not yet marked as solved
Apple Photos has support for "Optimize iPhone Storage" within iCloud Photos that removes Videos and Photos off the device when device storage is constrained.
Is there a way to test this on simulators? Specifically, I'd like to know if it would be possible to make a Video always require a download so I can ensure my app handles downloading iCloud videos gracefully.
I've tried signing in to iCloud on the simulator but it never seems to load my photos and videos.
Thanks in advance!
The Photos Library has a new level of permission called PHAccessLevelAddOnly which grants access to a selected set of assets defined by the User.
In my personal side project app, I render a custom Camera Roll UI and when I select "Select Photos..." and give access to a few photos the following occurs: The selected photos appear normally in my UI
The unselected photos appear with a very low resolution in my UI
Is there a way to leverage PHAsset/PHFetchResult/PHAssetCollection etc. to query for only the Photos my app has access to?
Thanks in advance!
Post not yet marked as solved
I want to test a situation where a video has been optimized off the device and requires an iCloud download before uploading it.I've been able to test this on my physical device since I have a lot of old videos that have been optimized off my device.However, I'm unable to test this on Simulator even with the feature enabled after signing into iCloud on the simulator.Is there currently a way to simulate a video as being in Optimized Storage state and thus requiring a download?Thanks a bunch!
Post not yet marked as solved
I work on app which uses LocalAuthentication to allow Users to lock their accounts with Touch or Face ID.This is typically something that we invoke manually with "- [LAContext evaluatePolicy:localizedReason:reply:]". However, we have been seeing reports of users seeing an additional Biometrics prompt immediately upon launching the application. This issue persist after deleting the app and reinstalling.The strange part is that this additional prompt has no "localizedReason" text as per the screenshot below:I've tried to swizzle both "- [LAContext evaluatePolicy:localizedReason:reply:]" and "- [LAContext evaluateAccessControl:operation:localizedReason:reply:]" to help find the caller but I'm unable to capture this mystery prompt.We also inspected with the Console.app and notice that the following logs keep appearing for users experiencing this additional Biometrics prompt. It is not present for users who are not seeing the issue:default13:43:24.332358 -0500securitydAuthentication is needed MyAppNameHere [11213]/1#5 LF=0 copy_matching Error Domain=NSOSStatusErrorDomain Code=-25330 "(null)"Is there a way to determine what this error means in more detail? Could this be the cause of the additional Authentication prompt?