From 378f63b4d55c35f42cb7fee5fecfdea34b5050a4 Mon Sep 17 00:00:00 2001 From: Harrie Shin Date: Fri, 23 Oct 2020 17:10:53 -0700 Subject: [PATCH] add objc support for getting navigationbar background color (#273) --- ios/FluentUI/Core/FluentUIFramework.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ios/FluentUI/Core/FluentUIFramework.swift b/ios/FluentUI/Core/FluentUIFramework.swift index 02d20843c4..8d680ee687 100644 --- a/ios/FluentUI/Core/FluentUIFramework.swift +++ b/ios/FluentUI/Core/FluentUIFramework.swift @@ -22,6 +22,9 @@ public extension Colors { public static var background: UIColor = NavigationBar.background public static var tint: UIColor = NavigationBar.tint } + + // Objective-C support + @objc static var navigationBarBackground: UIColor { return NavigationBar.background } } // MARK: - FluentUIFramework