本文共 964 字,大约阅读时间需要 3 分钟。
UIImage* closeImage = [UIImage imageNamed:@"FBDialog.bundle/images/close.png"];
UIColor* color = [UIColor colorWithRed:167.0/255 green:184.0/255 blue:216.0/255 alpha:1]; _closeButton = [[UIButton buttonWithType:UIButtonTypeCustom] retain]; [_closeButton setImage:closeImage forState:UIControlStateNormal]; [_closeButton setTitleColor:color forState:UIControlStateNormal]; [_closeButton setTitleColor:[UIColor whiteColor] forState:UIControlStateHighlighte转载地址:http://kieji.baihongyu.com/