11/26/2023 0 Comments Change color status bar ios![]() ![]() NavigationBar.standardAppearance = appearance Remove your existing customizations and do something like this: let appearance = UINavigationBarAppearance()ĪnfigureWithOpaqueBackground() To restore the old look, you must adopt the new UINavigationBar appearance APIs, UINavigationBarAppearance. ![]() Your screenshots indicate that you are scrolled to the top, and so the navigation bar has selected its scrollEdgeAppearance over the standardAppearance that it would use when scrolled, and on previous versions of iOS. The background is controlled by when your scroll view scrolls content behind the navigation bar. In iOS 15, UIKit has extended the usage of the scrollEdgeAppearance, which by default produces a transparent background, to all navigation bars.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |