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

479 views Asked by At

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?

0

There are 0 answers