【发布时间】:2016-04-07 07:11:25
【问题描述】:
self.infoView.hidden = NO;
self.infoView.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.7];
我想在表格视图中调用薄
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
if (indexPath.row==0) {
return;
}
NSMutableDictionary *Tag_Dic = [NSMutableDictionary dictionary];
[Tag_Dic setObject:[NSNumber numberWithInteger:indexPath.row] forKey:@"Tags"];
[[NSNotificationCenter defaultCenter] postNotificationName:@"MoveToNext" object:self userInfo:Tag_Dic];
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setInteger:indexPath.row forKey:@"SenderTag"];
[defaults synchronize];
}
【问题讨论】:
-
你想在单元格点击时显示 UIAlertView 吗?
标签: ios objective-c iphone uitableview