我知道有两个UITableView拖拽的拖拽&,但是我无法顺利地在它上面工作。将项目从UITableView拖放到UITableView
请不要在此线程中发布该stackoverflow的链接作为参考,因为我已经经历了这一点。
所以....
我已经创建下我已经添加了两个的UITableView即tableView1主的UIViewController,tableView2
在我所加入customCell和UIView的包围在该细胞图像。现在,如果我将使用touchesMoved委托它根本不工作。而不是像我这样的手势识别器:
//Custom cell for planned spend details progress bars....
- (void) customCell:(UITableViewCell *)cell {
UIView *progressView = [[UIView alloc]initWithFrame:CGRectMake(2.0, 2.0, 320.0, 97.0)];
[self setProgressBars:progressView];
progressView.userInteractionEnabled=YES;
[self addGestureRecognizersToView:progressView];
[cell.contentView addSubview:progressView];
cell.selectionStyle=UITableViewCellSelectionStyleNone;
[progressView release];
}
setProgressBars是一种方法,我添加了UIImageView。
现在使用UIRotationGestureRecognizer我可以在单个UITableView中拖放UIImageViews。它根本不工作如果我将拖到该UITableView的场所之外。
请以解决我的问题,帮助使我能够从一个UITableView中拖动项目到另一个
它是一个多月,没有人解答。奇怪。 好吧,我已经完成了我自己的任务。 – Tariq 2011-04-12 12:06:09
你能以一种可以帮助别人的方式回答你自己的问题吗?如果你这样做,你可以选择你的正确答案;但请不要只是*我把它固定在我自己*上。一段可能是所有需要的。 – Will 2011-04-12 18:51:02