Featured Post

programmatically create TABBAR 0

programmatically create TABBAR

tabBars = [[UITabBarController alloc] init];NSMutableArray *localViewControllersArray =  [[NSMutableArray alloc] initWithCapacity:4];HomeTabViewController *ptr_homeTab;ptr_homeTab = [[HomeTabViewController alloc]  initWithNibName:@”HomeTabViewController” bundle:nil];UINavigationController *homeNavBar=[[UINavigationController alloc]  initWithRootViewController:ptr_homeTab];homeNavBar.tabBarItem.title=@”Home”;homeNavBar.tabBarItem.image=[UIImage imageNamed:@”home.png”];[ptr_homeTab release];myHospitalviewController=[[MyHospitalViewController alloc]  initWithNibName:@”MyHospitalViewController” bundle:nil];UINavigationController *myHospitalNavBar=[[UINavigationController alloc]  initWithRootViewController:myHospitalviewController];myHospitalNavBar.title=@”My Hospital”;myHospitalNavBar.tabBarItem.image=[UIImage imageNamed:@”myhospital.png”];[myHospitalviewController release];viewController = [[TreatMentiViewController alloc]  initWithNibName:@”TreatMentiViewController”...

How to change the blue selection of a UITableViewCell 0

How to change the blue selection of a UITableViewCell

  You have to just put this code into “cellForRowAtIndexPath”For disable the cell select:(While Clicking the cell) cell.selectionStyle = UITableViewCellSelectionStyleNone; For enable the cell:(While Clicking the cell) cell.selectionStyle = UITableViewCellSelectionStyleBlue;(By Default)cell.selectionStyle = UITableViewCellSelectionStyleGray; If...