Oscar Junius
Oscar Junius

Reputation: 560

Remove shadow from UIContextMenu so it doesn‘t shows in the dismiss animation Swift

In my app I have a UITableView with text messages in it. I already implemented context menus for it so it shows quick actions for a message when you press on it. My only problem is that when the context menu preview dismisses a small shadow is shown under the message like in this picture. This probably happens because the context menu has a basic shadow behind it, while it is shown and when it dismisses, the shadow just shows then. Does anybody know how to remove shadows in general from UIContextMenus?

Upvotes: 1

Views: 587

Answers (0)

Related Questions