Post

Replies

Boosts

Views

Activity

Comment on A UICollectionView bug?
I don't set the size for the cells. You can see the code at https://github.com/yoasha/CollectionViewDemo The main issue is that index titles in my case sometimes appear and sometimes not. UITableView updates the content view constraints automatically to make room for the index titles when they appear, while the UICollectionView doesn't. I therefore need in collection view to manage this manually rather than let it do the work for me.
Mar ’22
Comment on A UICollectionView bug?
No need for that. Modifying the trailing constraint (as you previously suggested) did the trick. The only issue with this solution is that I need to make some assumptions (where iPad requires trailing of 20 vs. 10 for iPhone) and these numbers can change in future iOS updates according to Apple UI design changes. It could be very useful if UICollectionView provided us API to get the required trailing, to eliminate any assumptions.
Mar ’22
Comment on Getting the ...user-assigned-device-name entitlement?
I'm having the same issue as KRATOSFM, so I followed your instructions. The codesign -d --entitlements - returned several entitlements but the user-assigned-device-name entitlement was missing. This is really interesting since I can clearly see this entitlement at the target setting in Xcode under "Signing & Capabilities" -> iOS section -> Xcode Managed Profile > tapping the "info" button. Any ideas?
Sep ’22
Comment on Getting the ...user-assigned-device-name entitlement?
Do I need to add a capability under "Signing & Capabilities" tab in Xcode? Or do I need to manually add a row in the entitlements file in Xcode? In Apple documentation they specify that "In your app’s .entitlements file, add the assigned entitlement key and value pair" but I'm not sure what value to assign the "com.apple.developer.device-information.user-assigned-device-name" key?
Sep ’22
Comment on Accessibility issue on iOS 16.0 when isAccessibilityElement=YES
Thank you for your quick reply! I added a bug related to this issue: FB11567278 I also added another bug related to inconsistent behavior of VoiceOver in table view vs. collection view. You might want to view it as well: FB11566795 Note that both bugs contain screen recording and full sample project that should hopefully make it easy to reproduce issue. Let me know if you need further info.
Sep ’22