自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 问答 (17)
  • 收藏
  • 关注

原创 UILable 字体颜色修改

//声明 NSMutableAttributedString字符串 NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:@"0 张"]; //设置最后一个字体为灰色             [str addAttribute:NSForegroundColorAttrib

2016-06-14 10:14:42 542

原创 当键盘挡住输入框时候,可以使的界面自动上移

第一步:注册通知:  [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardWillShow:) name:UIKeyboardWillShowNotification object:nil];     [[NSNotificationCenter defaultCenter] add

2016-06-13 17:43:31 2253

原创 UITextFile UITextView 键盘回收

第一种.UITextFile UITextView 点击return键盘回收 1.添加代理 UITextFieldDelegate, UITextViewDelegate 2.设置代理 nameTextFile.delegate = self; remarksTextView.delegate = self; 3.代理方法实现 - (BOOL)textFieldShouldR

2016-06-13 17:36:56 846

原创 for循环创建UIButton,如何去修改边框颜色

看一下效果图,类似于淘宝加入购物车,我用的是UIButton 颜色颜色Button和型号一样: 1.创建UIButton for (int i = 0; i         self.selectColorBtn = [UIButton buttonWithType:UIButtonTypeCustom];         if (i > 4) {         sel

2016-06-06 15:10:09 308

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除