HomeiOS Developmentios - Customized view above desk view cell with UIContextMenu

ios – Customized view above desk view cell with UIContextMenu


I’m making an attempt to implement one thing like this:

(https://i.stack.imgur.com/fJ0yr.png)

I’ve already added contextual menu beneath my tableView cell. Now I need to add response view above the cell. I’m unable to seek out any resolution for this. That is how my code is for contextual menu :
In tableview’s contextMenuConfigurationForRowAt methodology I’ve added menu like this:

let configuration = UIContextMenuConfiguration(identifier: nil, previewProvider: nil) { _ in
    return menu
}

What I’ve already tried is to make use of PreviewProvider, however with this new view controller seems and cell acquired disappeared. Didnt discover any library for this as effectively.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments