andreamazz / BubbleTransition

A custom modal transition that presents and dismiss a controller with an expanding bubble effect.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unbalanced calls to begin/end appearance transitions for

arqambutt opened this issue · comments

The warning "The unbalanced calls to begin/end appearance transitions" seems to occur on my UINavigationViewController when i tries to present another controller.

How are you presenting the new controller?

            self.transition = BubbleTransition()
            self.transition.startingPoint = self.btn_AddJoke.center
            let nav = UINavigationController.init(rootViewController: vc)
            nav.setNavigationBarHidden(true, animated: false)
            nav.transitioningDelegate = self
            nav.modalPresentationStyle = .custom
            nav.setNavigationBarHidden(true, animated: false)
            self.present(nav, animated: true, completion: nil)

OK, pushing a navigation controller causes that.
I'm a bit stumped, help on the subject is welcome.

Hi, I have the same problem, have you solved?

commented

Same problem here. Anybody has the solution?

I was able to fix this by changing the modalPresentationStyle of the navVC to .overFullScreen

navVC.modalPresentationStyle = .overFullScreen`