I have created custom UIViewController and included it in contextMenuInteraction (below example):
func contextMenuInteraction(_ interaction: UIContextMenuInteract