- If the navigation bar is initialized by xiB or storyboard, there will be a problem with the push animation from hiding the navigation bar to showing the navigation bar. The solution is to manually initialize the navigation bar
- The present becomes not full screen, ok
nav.modalPresentationStyle = .fullScreen
I’m going to set it to fullscreen to go back to fullscreen and if it’s present navigation, I’m going to set it to the navigation - The selectStyle of the cell is missing. It may have set the background color of the child view or contentView
- Night mode can be set in info.plist
UIUserInterfaceStyle
A value ofUIUserInterfaceStyleLight
Force change to daytime mode - Top divider of tabbar
if # available (iOS 13.0. *) { let appearece = self.tabBar.standardAppearance appearece.shadowColor = UIColor.theme.grey05 appearece.backgroundImage = nil self.tabBar.standardAppearance = appearece } else { self.tabBar.shadowImage = UIImage(color: UIColor.theme.grey05, size: CGSize(width: UIScreen.main.bounds.size.width, height: UIConstHelper.lineHeight)) self.tabBar.backgroundImage = nil } Copy the code