I had the same error where setting backButtonHidden on the first page lead to a freeze when swiping back from a second page. I found two things that fixed it:
Switching title to inline mode
Root cause for me was I set .becomeFirstResponder() on a textView in the second page and moving this to be more tightly tailored to the UITextView's lifecycle lead to fixing the issue/