interactivepopgesture

Change interactivePopGestureRecognizer direction

痴心易碎 提交于 2019-12-11 07:29:33
问题 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 to left. if([[[NSUserDefaults standardUserDefaults] objectForKey:@"LanguageCode"] isEqualToString:@"en"]) { [[UIView appearance] setSemanticContentAttribute:UISemanticContentAttributeForceLeftToRight]; //View for English language } else { [[UIView

InteractivePopGestureRecognizer causing app freezing

China☆狼群 提交于 2019-12-03 04:22:51
问题 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 application. If go back through back button all works fine. How can I catch the problem? 回答1: I had similar problem with freezing interface when using swipe-to-pop gesture. In my case the problem was in controller1.viewDidAppear I was disabling swipe

InteractivePopGestureRecognizer causing app freezing

不问归期 提交于 2019-12-02 18:41:08
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 application. If go back through back button all works fine. How can I catch the problem? I had similar problem with freezing interface when using swipe-to-pop gesture. In my case the problem was in controller1.viewDidAppear I was disabling swipe gesture: self.navigationController.interactivePopGestureRecognizer.enabled = NO . So when user started to swipe

Navigation bar title bug with interactivePopGestureRecognizer

扶醉桌前 提交于 2019-11-29 19:27:56
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 the navigation bar hidden, and interactivePopGestureRecognizer.enabled = NO; Second and ThirdViewController s have the navigation bar visible and the popgesture enabled. Bug: The bug occurs when going back from the Second to the First view using the popgesture. If you pull the second view halfway and then go back to the second view, the navigation

Navigation bar title bug with interactivePopGestureRecognizer

喜你入骨 提交于 2019-11-28 14:57:11
问题 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 the navigation bar hidden, and interactivePopGestureRecognizer.enabled = NO; Second and ThirdViewController s have the navigation bar visible and the popgesture enabled. Bug: The bug occurs when going back from the Second to the First view using