Weird Back Button offset if prefersLargeTitles = true


#1

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

54%20PM

Thanks in advance


#3

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


#4

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


#5

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.