博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  730 随笔 :: 0 文章 :: 323 评论 :: 347万 阅读
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

05 2013 档案

摘要:今天在网上找了下,iphone的UITextView字体类型的设置。现总结如下,如有误,欢迎指正。[textViewsetFont:[UIFontfontWithName:@"TrebuchetMS-Italic"size:18]];但是字体的类型名不好找,总结下有这么些类型:// 列出iPhone上所有的字体// List all fonts on iPhoneNSArray *familyNames = [[NSArray alloc] initWithArray:[UIFont familyNames]];NSArray *fontNames;NSInteger in 阅读全文
posted @ 2013-05-08 18:42 Likwo 阅读(567) 评论(0) 推荐(1) 编辑

摘要:转http://blog.csdn.net/toddmi/article/details/8133967给一个对象简单设置阴影效果:[html]view plaincopyLable.shadowColor=color;Lable.shadowOffset=CGSizeMake(0,-1.0);或[html]view plaincopyUIView*testView=[[UIViewalloc]initWithFrame:CGRectMake(30,30,130,130)];[testViewsetBackgroundColor:[UIColorgrayColor]];[[testViewla 阅读全文
posted @ 2013-05-08 18:19 Likwo 阅读(718) 评论(0) 推荐(0) 编辑

摘要:再UITableViewCell添加如下方法- (void)changeSelectedColor{ self.contentView.backgroundColor = [UIColor lightGrayColor]; self.bgView.backgroundColor = UIColorWithRGB(0xf3, 0xf3, 0xf3); UIView *backView = [[UIView alloc] initWithFrame:self.frame]; self.selectedBackgroundView = backView; ... 阅读全文
posted @ 2013-05-08 15:10 Likwo 阅读(1253) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示