当前位置: 编程技术>移动开发
本页文章导读:
▪在Navigation Bar上增添UISegmentedControl 在Navigation Bar上添加UISegmentedControl
UISegmentedControl *segCtr;
segCtr = [[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:@"1", @"2", @"3", @"4", nil]];
segCtr.tintColor = [UIColor blackColor];
[segCtr addTarget:self action.........
▪ wap记要 wap记录
firefox插件
User Agent Switcher
wmlbrowser
......
▪ 用户抉择UITableView的某一行时不把该行高亮显示 用户选择UITableView的某一行时不把该行高亮显示
cell.selectedBackgroundView = [[[UIView alloc] initWithFrame:cell.frame] autorelease];
cell.selectedBackgroundView.backgroundColor = [UIColor clearColor];
cell.selectionStyle = UITbabl.........
[1]在Navigation Bar上增添UISegmentedControl
来源: 互联网 发布时间: 2014-02-18
在Navigation Bar上添加UISegmentedControl
UISegmentedControl *segCtr; segCtr = [[UISegmentedControl alloc] initWithItems:[NSArray arrayWithObjects:@"1", @"2", @"3", @"4", nil]]; segCtr.tintColor = [UIColor blackColor]; [segCtr addTarget:self action:@selector(showSegment) forControlEvents:UIControlEventValueChanged]; self.navigationItem.titleView = segCtr; [segCtr release];
[2] wap记要
来源: 互联网 发布时间: 2014-02-18
wap记录
firefox插件
User Agent Switcher
wmlbrowser
[3] 用户抉择UITableView的某一行时不把该行高亮显示
来源: 互联网 发布时间: 2014-02-18
用户选择UITableView的某一行时不把该行高亮显示
cell.selectedBackgroundView = [[[UIView alloc] initWithFrame:cell.frame] autorelease];
cell.selectedBackgroundView.backgroundColor = [UIColor clearColor];
cell.selectedBackgroundView.backgroundColor = [UIColor clearColor];
cell.selectionStyle = UITbableViewCellSelectionStyleNone 不高亮显示选中的单元格
最新技术文章: