MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / _getAppearance

Method _getAppearance

packages/core/ui/tab-view/index.ios.ts:685–692  ·  view source on GitHub ↗
(tabBar: UITabBar)

Source from the content-addressed store, hash-verified

683 }
684
685 private _getAppearance(tabBar: UITabBar) {
686 if (tabBar.standardAppearance == null) {
687 const appearance = UITabBarAppearance.new();
688 appearance.stackedLayoutAppearance = appearance.inlineLayoutAppearance = appearance.compactInlineLayoutAppearance = UITabBarItemAppearance.new();
689 return appearance;
690 }
691 return tabBar.standardAppearance;
692 }
693
694 private _updateAppearance(tabBar: UITabBar, appearance: UITabBarAppearance) {
695 tabBar.standardAppearance = appearance;

Calls 1

newMethod · 0.45

Tested by

no test coverage detected