如何設置按鈕的title color
當圖像被放置在一個button.?Any能幫助我這個.. 我對相同的代碼如下所述:如何設置按鈕的標題顏色?
startLoginBtn = [[UIButton alloc]initWithFrame:CGRectMake(25, 303, 267, 40)];
[startLoginBtn setImage:[UIImage imageNamed:@"SkipLogin.png"] forState:UIControlStateNormal];
[startLoginBtn setTitle:@"Start Login" forState:UIControlStateNormal];
[startLoginBtn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
[startLoginBtn addTarget:self action:@selector(startLogin:) forControlEvents:UIControlEventTouchUpInside];
[startLoginBtn setEnabled:YES];
[self.view addSubview:startLoginBtn];
可能的重複[我如何更改UIButton標題顏色?](http://stackoverflow.com/questions/2474289/how-can-i-change-uibutton-title-color) –