我已添加tableview
作爲subview
並且我已將添加到tableview
。刷卡不起作用。 Pan gesture
工作正常(剛測試)。 Swipe gesture
它不起作用。我想把桌子移到右邊。所以我想只在向右滑動時纔會觸發動畫。但輕掃本身並不被認可。刷卡表格
panelGesture = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(closePanel:)];
[panelGesture setDirection: UISwipeGestureRecognizerDirectionRight];
[panel addGestureRecognizer:panGesture];
讓我試試並找回你。謝謝 – Manoj 2013-03-06 10:00:06
太棒了。這是我正在尋找的。涼。非常感謝。你節省了我的時間。 – Manoj 2013-03-06 10:03:37