摘要:
思路: 写一个 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 阅读全文
摘要:
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 阅读全文
摘要:
方案一: [self.tableView setAllowsSelection:NO];方案二: [cell setSelectionStyle:UITableViewCellSelectionStyleNone]; 阅读全文
摘要:
方法一: [historyTodayTableVC setSeparatorStyle:UITableViewCellSeparatorStyleNone];方法二: [historyTodayTableVC setSeparatorColor:[UIColor clearColor]];注意:historyTodayTableVC 为当前的 tableView; 阅读全文