0

enter image description here

When I scroll on tableView, the navigationItem is not hide and move a little to bottom. i tried it on lower version (iOS 13, iOS 12), however this issue is happen on iPhone 11 (iOS 14). I searched any resource to find out solution for it, but it still not help me. So what should i do now ?

        UINavigationBar.appearance().barTintColor = UIColor.playerDefaultColor
        UINavigationBar.appearance().isTranslucent = false
        UINavigationBar.appearance().setBackgroundImage(UIImage(), for: .default)
        UINavigationBar.appearance().shadowImage = UIImage()
        UINavigationBar.appearance().titleTextAttributes = [NSAttributedString.Key.foregroundColor: UIColor.white]
        UINavigationBar.appearance().tintColor = UIColor.white

        UITabBar.appearance().tintColor = UIColor.premiumFontActiveColor

1 Answer 1

0

You can try to put an empty view above your tablview if UITableView is the first view in your view hierarchy. If that fixes it, you can leave that view in xib and make it hidden. It sounds weird but I had same issue in previous versions of xcode which was fixed by this solution.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.