bits and notes

by Sam Sulaimanov (bitmorse)


TabBar background color not set

Since iOS 15, all nav bars are transparent by default. To restore old behaviour, set scrollEdgeAppearance to the default:

let appearance = UITabBarAppearance()
UITabBar.appearance().scrollEdgeAppearance = appearance

Source

blog/tabbar_background_color_not_set.txt · Last modified: 2021/12/19 12:52 by bitmorse