Weird Back Button offset if prefersLargeTitles = true


Have you guys encountered this bug? Any workaround on this?


Thanks in advance


@trickpirata could you share how did you solve it? Might be useful to others :slight_smile:


Withdrawn my answer. It’s weird. After I did a re-run, it reverted back to the old issue. :frowning:


Fixed the issue. The problem was I subclassed UINavigationController and I put in this code:

        if #available(iOS 11.0, *) {
        navigationController?.navigationBar.prefersLargeTitles = true

Solved by putting that code in my BaseViewController instead.