Mad*_*han 2 objective-c indicator uitableview
我正在使用UITableView属性来编辑它.theTableView.editing = YES; theTableView.allowsSelectionDuringEditing = YES;
它工作正常,行被选中,我进入下一个控制器,但我需要在行中显示accessoryType.我正在使用下面的线,但即使它不起作用.是否有任何财产或任何遗失的东西显示印度人.
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
我使用下面的代码表格视图.
theTableView = [[UITableView alloc] initWithFrame:tableRect style:UITableViewStyleGrouped];
theTableView.editing = YES;
theTableView.allowsSelectionDuringEditing = YES;
theTableView.delegate = self;
theTableView.dataSource = self;
theTableView.scrollEnabled=YES;
theTableView.separatorColor = [UIColor lightGrayColor];
theTableView.autoresizingMask=YES;
theTableView.allowsSelection=YES;
theTableView.sectionHeaderHeight=5;
theTableView.sectionFooterHeight=5;
[myView addSubview:theTableView];
Run Code Online (Sandbox Code Playgroud)
请帮我.
谢谢你,Madan Mohan
归档时间: |
|
查看次数: |
1887 次 |
最近记录: |