我已经更改了表格视图、单元格选择、背景颜色如下。
var cell = tableView.cellForRowAtIndexPath(indexPath)
let selectionColor = UIView() as UIView
selectionColor.layer.borderWidth = 1
selectionColor.layer.borderColor = utility.uicolorFromHex(0xEBEBEB).CGColor
selectionColor.backgroundColor = ut
每个人我都有一个表格视图,当我点击单元格时它会弹出一个视图,它对我来说很好,但我的问题是,我想点击2秒弹出appear.that是,如果我点击2秒那么只有弹出appers.Is可能吗?我怎么做?
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[self.view addSubview:MainPopupView];
//MainPopView is the popup that i want to display after2 minit
}
提前谢谢。