摘要: 思路: 写一个 UILbel的子类;在子类里面重新布置UILbel的字体间距;如代码 .h#import <UIKit/UIKit.h>@interface AdjustableUILable : UILabel{ CGFloat characterSpacing;}@property CGFloat characterSpacing;@end 代码 .m#import "AdjustableUILable.h"@implementation AdjustableUILable@synthesize characterSpacing;- (id)initWith 阅读全文
posted @ 2013-06-18 13:25 cocoajin 阅读(1150) 评论(0) 推荐(0) 编辑
摘要: label.font=[UIFontfontWithName:@"Arial-BoldItalicMT"size:24];字体名如下:Font Family: American TypewriterFont: AmericanTypewriterFont: AmericanTypewriter-BoldFont Family: AppleGothicFont: AppleGothicFont Family: ArialFont: ArialMTFont: Arial-BoldMTFont: Arial-BoldItalicMTFont: Arial-ItalicMTFont 阅读全文
posted @ 2013-06-18 12:55 cocoajin 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 方案一: [self.tableView setAllowsSelection:NO];方案二: [cell setSelectionStyle:UITableViewCellSelectionStyleNone]; 阅读全文
posted @ 2013-06-18 11:14 cocoajin 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 方法一: [historyTodayTableVC setSeparatorStyle:UITableViewCellSeparatorStyleNone];方法二: [historyTodayTableVC setSeparatorColor:[UIColor clearColor]];注意:historyTodayTableVC 为当前的 tableView; 阅读全文
posted @ 2013-06-18 10:53 cocoajin 阅读(520) 评论(0) 推荐(0) 编辑