0
내가 튜토리얼이 ECSLidingViewController의 기본 설정을 구현하는 것을 다음 슬라이드로. 부드러운 애니메이션
은 내가 leftView에 다음 코드를 추가 : 내가는 topview 내 손가락 동안 다음되는 응용 프로그램의 첫 시작 후 라인[self.slidingViewController.topViewController.view addGestureRecognizer:self.slidingViewController.panGesture];
을 추가 Additionaly
UISwipeGestureRecognizer *rightRecognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(closeSettings)];
[rightRecognizer setDirection:UISwipeGestureRecognizerDirectionRight];
[self.slidingViewController.topViewController.view addGestureRecognizer:rightRecognizer];
열기/닫기 . 그러나 leftview tableview의 한 지점을 선택한 후에는 더 이상 작동하지 않습니다. 내 모든 topViews에서
, 나는 한의 viewDidLoad 방법에 다음 코드 :
UIScreenEdgePanGestureRecognizer *leftRecognizer = [[UIScreenEdgePanGestureRecognizer alloc] initWithTarget:self action:@selector(openSettings:)];
leftRecognizer.edges = UIRectEdgeLeft;
[self.view addGestureRecognizer:leftRecognizer];
이 사람이 처음 시작의 행동이 모든 시간이라고, 무엇을 변경 말씀해 주시겠습니까?