Post

Replies

Boosts

Views

Activity

Reply to UIContextMenuConfiguration : UI Bug due to cell recycling at the deletion of an item in an UICollectionView
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.
Jun ’20
Reply to TVLockupView focusSizeIncrease does not work as described in the documentation
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.
Jun ’20