iOS swift) 메모앱 swipe시 navigation pop gesture recognizer
The gesture recognizer responsible for popping the top view controller off the navigation stack.
self.navigationController.interactivePopGestureRecognizer.delegate = self;
How to enable back/left swipe gesture in UINavigationController after setting leftBarButtonItem?
I got the opposite issue from here. By default in iOS7, back swipe gesture of UINavigationController's stack could pop the presented ViewController. Now I just uniformed all the self.navigationItem.
stackoverflow.com
Apple Developer Documentation
developer.apple.com
참고로 시뮬레이터에서 swipe 효과 실행시키고 싶은 경우 기기의 맨 왼쪽 부분을 넘기면 됨
'iOS > iOS SeSAC 2기 TIL' 카테고리의 다른 글
iOS swift) 다국어 지원 (0) | 2022.09.06 |
---|---|
iOS swift) 커스텀 폰트 (0) | 2022.09.06 |
iOS swift) 검색화면에서 scrolling시 키보드 내리기 (0) | 2022.09.04 |
iOS swift) SceneDelegate 처음 시작화면 지정(with navigation) (0) | 2022.09.03 |
2차 평가과제 중 알게된 것들 (테이블뷰 섹션 관련) (0) | 2022.09.02 |