Your question is very vague and unclear, but your implementation is very similar to one of my previous experiments. It also uses tableView as a pop-up window. You can refer to the GitHub source code, https://github.com/SeraZheng/ ZSNavigationFilterMenuView
Your question is very vague and unclear, but your implementation is very similar to one of my previous experiments. It also uses tableView as a pop-up window. You can refer to the GitHub source code, https://github.com/SeraZheng/ ZSNavigationFilterMenuView
Rendering