Wednesday 18 December 2013

Change Background color in Iphone(IOs)

-(IBAction)First:(id)sender
{
    self.view.backgroundColor = [UIColor redColor];
}

Another way


    UIColor *myColor = [UIColor colorWithRed:(59.0 / 255.0) green:(89.0 / 255.0) blue:(152.0 / 255.0) alpha: 1];

    self.view.backgroundColor = myColor;

No comments:

Post a Comment

Comment