嗨我在我的應用程序中使用iCarousel
,它將有UITableView
作爲子視圖。當我試圖滑動或平移顯示下一個或上一個項目時,它不起作用。我認爲UITableView's
手勢識別器會禁用iCarousel的手勢識別器。有這麼多的問題,但我沒有看到任何答案。 attched是示例圖像當iCarousel包含UITableView作爲子視圖時無法滑動
請指導我解決這個問題。
代碼
_carousel =[[iCarousel alloc]initWithFrame:self.view.frame];
_carousel.type = iCarouselTypeLinear;
_carousel.pagingEnabled = YES;
_carousel.delegate = self;
_carousel.dataSource = self;
[self.view addSubview:_carousel];
你不能移動到iCarousel的下一個或上一個子視圖嗎? – Ganapathy
是的,我想你已經回答了類似的問題 – thavasidurai
當然。 icarousel本身不適合你嗎?因爲該代碼適合我。 – Ganapathy