I already open a feedback for the problem that I describe in my first post with the same informations + a demo project.
Note that this bug is visible on the Apple Photos application (first tab) when you delete a photo in the grid using the contextual menu on iPad.
Post
Replies
Boosts
Views
Activity
After a lot of tests, providing the next cell after the deletion in the previewForDismissingContextMenuWithConfiguration method solves the problem that a wrong cell is briefly displayed during the deletion but its create a new UI Bug with the menu.
Indeed, during the dismiss of the menu, the menu quickly moves below the next cell.
Providing the next cell after the deletion in the previewForDismissingContextMenuWithConfiguration method seems to solve the problem but how can I retrieve the action identifier (or another information) that trigger the dismiss ?
How to know if the user choose "delete" or just "cancel" the contextual menu inside the previewForDismissingContextMenuWithConfiguration method ?
How to provide the current cell in case of a "cancel" and the next cell in case of a delete ?
Thank you for your help.
Hello, thank you for your response.
I already tried TVPosterView and it defines its own focusSizeIncrease maybe due to the fact that an UIImageView is inside it.
Note that, if I try to set the focusSizeIncrease property to .zero, nothing changes. The TVPosterView keeps its own value that correspond to the focus effect of the UIImageView.
According to the documentation, the focusSizeIncrease defines the content's size increase when in focus. So there is no need to set the UIImageView's property adjustsImageWhenAncestorFocused to true.
Thank you for your response but i already tried to set the corner radius on the UICollectionViewCell, the TVLockupView, the TVLockupView's contentView or the UIIImageView with no success.
Note that if a put a TVPosterView (that inherit from TVLockupView) inside a UICollectionViewCell, it looses its "native" rounded corners.