UIButton 如何设置字体颜色

2015-06-26 0 987
UIButton 如何设置字体颜色
    UIButton *temp = [UIButton buttonWithType:UIButtonTypeRoundedRect];   
               
            [temp setTitle:@“test”  forState:UIControlStateNormal];               
            [temp setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];  

遇见资源网 objective-c UIButton 如何设置字体颜色 http://www.ox520.com/17721.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务