UITableView becomes invisible after changing data in it
- by Alexander Shemshurenko
Hi
I have application with TabBar that control several views. In one view i control connection to different servers.Each server provides different set of items.
I display these items in UITableView on other view.
I create table view like this
UITableView * aTableView = [[UITableView alloc] initWithFrame:CGRectMake(X,Y,Width,Height) style:UITableViewStyleGrouped];
[[self view] addSubview:aTableView];
aTableView.da
taSource = self;
The problem is that Table view displayed ok first time , but if i go back to view number one and change server(changing list of items that should be displayed in table view), table view becomes invisible for some reason. If i tap on the screen in place where it should be, its becomes visible again.
Ive tried to call to reloadData and setNeedDisplay in viewWillAppear of the UIViewController that hosts this table view, but without success.
Any advice?
Thanks