I have a table in my viewController class
On tapping of a button (this button is outside of table), i wanted to show some UIView on top of tableView alone and a web service request is sent. After receiving the response, i want to remove the UIView which i have added.
tableView.addSubview(myview)
didn't work for me, but self.view.addSubview(myview)
worked but i wanted to overlay my UIView only on top of table view.
My question is specific to how to add/remove subview to a tableview. How can i achieve this?