我在我的 iPad 应用程序中使用 icarousel。我想要一个功能,比如在 icarousel 中拖放对象。将视图拖出轮播以从中删除项目,然后将视图拖放到轮播中以将项目添加到其中。我已经从https://github.com/nicklockwood/iCarousel下载了 icarousel
我已经使用委托方法尝试了拖放功能
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
但整个观点一团糟。请帮帮我。先感谢您。