I created a windowbased project,then I added a new viewcontroller with xib for user interface checked,and then by entering into the xib,I made some customization to the view,I added few buttons and also changed the background color,
But now I want to change the background color of the view through code and not through xib,
so I tried this in my
-(void)viewDidLoad
{
UIColor *myColor = [UIColor colorWithRed:(128.0 / 255.0) green:(90.0 / 255.0) blue:(200.0 / 255.0) alpha: 1];
self.view.backgroundcolor = mycolor;
}
but nothing change happened,so please help me out friends
Thanks & Regards Ranjit