2015年7月30日

设置textField的placeholder字体的颜色,默认是灰色

摘要: //设置textField的placeholder字体的颜色,默认是灰色UIColor *color = [UIColor whiteColor];self.loginNumText.attributedPlaceholder = [[NSAttributedString alloc] initWi... 阅读全文

posted @ 2015-07-30 10:10 codemaker313 阅读(1056) 评论(0) 推荐(0) 编辑

设置按钮(UIButton)为圆角矩形

摘要: //设置按钮颜色 self.autoLoginCheckBox.layer.borderColor = [[UIColor redColor] CGColor]; //设置边框宽度 self.autoLoginCheckBox.layer.borderWidth = 1; //设置按钮为圆... 阅读全文

posted @ 2015-07-30 10:08 codemaker313 阅读(875) 评论(0) 推荐(0) 编辑

导航