I have a tableview that shows up when I push a button. This tableview is added on top of my other UITableview. What I want to do now is when the tableview shows up. My background view is dimmed like when an alertview pops up. You can see an example over here.
I’ve tried this in code but it doesn’t work.
_tableView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.5];

Just adding answer with more description that my comment.
Say your Background tableView is
_tableViewand your pop up small tableViewis _tableViewSmallCreate a
UIViewhaving same height and width as of_tableView. DoaddSubViewon your_tableView.yourView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.5];Now add your
_tableViewSmalldoingaddSubViewon_tableView.Hope this steps helps you to make it..