Skip to content

Commit

Permalink
Fix a tab bar's appearance in Samples app on iOS 15
Browse files Browse the repository at this point in the history
  • Loading branch information
scenee committed Sep 27, 2021
1 parent 31d7a2a commit 1e16d9c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ final class TabBarContentViewController: UIViewController {
fpc.addPanel(toParent: self)


if #available(iOS 15, *) {
tabBarController?.tabBar.scrollEdgeAppearance = UITabBarAppearance()
}

switch tabBarItem.tag {
case 1:
fpc.behavior = TwoTabBarPanelBehavior()
Expand Down

0 comments on commit 1e16d9c

Please sign in to comment.