Questions tagged [interactivepopgesture]

26 questions
26
votes
9 answers

InteractivePopGestureRecognizer causing app freezing

In my app I have different controllers. When I push controller1 to navigation controller and swipe to back, all works good. But, if I push navigation controller1, and into controller1 push controller2 and try to swipe to back I get a frozen…
Mike
  • 750
  • 2
  • 10
  • 14
22
votes
5 answers

Navigation bar title bug with interactivePopGestureRecognizer

I am having a weird problem with UINavigationBar's title in an app when interactivePopGestureRecognizer comes into play. I have made a demo app to showcase this bug. Setup: The rootViewController is a UINavigationController. FirstViewController has…
aksh1t
  • 5,410
  • 1
  • 37
  • 55
11
votes
3 answers

_adjustContentOffsetIfNecessary - UIScrollView automatically scrolls to top

On iOS 7. I have navigation controller and I push a new VC on top of the stack. That new VC has a UIScrollView that fills the VC's root view and scrolls vertically. If I scroll down a little bit and then try to use 'swipe to go back' / 'swipe to…
AndroC
  • 4,758
  • 2
  • 46
  • 69
7
votes
1 answer

Search bar disappears when interactive pop gesture is happening

I'm adding search controller like this: viewController.navigationItem.searchController = searchController viewController.navigationItem.hidesSearchBarWhenScrolling = false viewController.definesPresentationContext = true …
4
votes
0 answers

how to change ios7 interactivePopGestureRecognizer scope?

as you know, ios7 swipe left-to-right pop effect is so cool, but only while user touch very close to screen's boundary, this gesture can be triggered, any one has idea to enlarge the scope?
scottpang
  • 41
  • 6
3
votes
0 answers

iOS 9.3 Interactive pop gesture corrupts navigation bar

I have an iOS app with interactive pop gesture enabled by default, however when I play with it sometimes it comes to corrupt navigation bar but popping by tap on back buttons works good, any ideas?
3
votes
1 answer

interactivePopGestureRecognizer - pop or back to curent view controller

How can I detect if my interactivePopGestureRecognizer is completed and will back (pop) to previous view controller or shift is not enough. Then current view controller will back to his normal position. my code: if ([self…
milczi
  • 7,064
  • 2
  • 27
  • 22
3
votes
2 answers

Black area with interactivePopGestureRecognizer when popping a view controller with visible nav bar to a one with hidden nav bar

I have this ViewController #1 which is the root view controller of a navigation controller and has self.navigationController.navigationBarHidden = YES; ViewController #1 tells its navigation controller to push ViewController #2, which…
aslı
  • 8,740
  • 10
  • 59
  • 80
2
votes
2 answers

Change interactivePopGestureRecognizer direction

My app supports both English and Arabic. interactivePopGestureRecognizer works properly when using English, ie on swiping from left to right, it pops viewController. But when i am using arabic, I have changed the semanticContentAttribute from right…
Amal T S
  • 3,327
  • 2
  • 24
  • 57
2
votes
0 answers

How to know if the VC got popped FULLY using interactivePopGestureRecognizer (swipe to go back)

I am using a custom Left Menu Controller which can be opened by UIPanGestureRecognizer when the UINavigationController is only at it's Top-Level. If some UIViewController is pushed onto the stack, I want the interactivePopGestureRecognizer to work…
2
votes
0 answers

UINavigationController's interactivePopGestureRecognizer bug on iPhone 6 Plus in landscape orientation

This issue is only present on iPhone 6 Plus in landscape orientation If you have a UINavigationController and pushed a couple UIViewControllers, the interactivePopGestureRecognizer steals the swipe from anywhere on the screen. The…
1
vote
0 answers

UINavigation Handle specific swipe back for some ViewController

In my current project, I use one main UINavigationController and I've pushed every controller that I want to present. Also, I've enabled the pop gesture from the default user experience for UINavigationController that when I swipe on the edge left…
1
vote
1 answer

Interactive Pop gesture do not works when I present a viewcontroller

I have a Tab bar controller which consists of 4 tabs and each Tab contains a navigation controller . When i present a view controller on any tab and after dismissing when i try to push then interactive pop Gesture do not works till I do not change…
1
vote
0 answers

interactivePopGestureRecognizer popToRootViewController instead of popViewController

I have a NavigationViewController with multiple ViewControllers. I set the navigationController?.interactivePopGestureRecognizer?.delegate = nil to enable the swipe to pop functionality. That works as it should. I have the case in my App where I…
1
vote
1 answer

Disable scrolling when interactivePopGestureRecognizer transition is taking place

I have implemented the interactivePopGestureRecognizer. It transitions to the previous page. But the problem is that when the transition takes place, if there is a UIScrollView in the current view controller, it starts scrolling. Is there some way…
JMS
  • 271
  • 4
  • 15
1
2