Iphone UIButton cor de fundo

Estou criando algunsUIButtonrogramaticamente em um loop, mas estou tendo algum problema ao definir a cor de fundo do botã

A cor do botão sempre aparece em branco. Mas funciona bem, estou usando apenas duas cores na cor de fundo. Por exemplo: vermelho: 255 verde: 0 azul: 200

qui está o código que estou usando para adicionar o botã

    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.frame = CGRectMake(80, 20 + (i*75), 200, 75);
    button.layer.cornerRadius = 10;
    button.layer.borderWidth = 1;
    [button setTitle:@"saf" forState:UIControlStateNormal];
    [button addTarget:self action:@selector(moveLocation:) forControlEvents:UIControlEventTouchUpInside];
    [button setBackgroundColor:[UIColor colorWithRed:255 green:180 blue:200 alpha:1]];
    button.autoresizingMask = UIViewAutoresizingFlexibleWidth;
    [scrollView addSubview:button];

questionAnswers(2)

yourAnswerToTheQuestion