iphone - How to make a UITableViewController transparent on the top? -
in iphone application have presented controller:
shareresourceitemviewcontroller* controller = [[shareresourceitemviewcontroller alloc] initwithsharedresourceitem:[selecteditems objectatindex:0]]; [self presentviewcontroller:controller animated:yes completion:nil];
then in controller want make transparent on top. tried:
-(void)viewdidload{ [super viewdidload]; [self performselector:@selector(test) withobject:nil afterdelay:3]; } -(void)test{ self.tableview.backgroundcolor = [uicolor clearcolor]; self.tableview.opaque = no; self.tableview.backgroundview = nil; }
the background cleaned controller not transparent , can not see previous controller? how can fix this?
make tableview cells background color clear color.
Comments
Post a Comment