Skip to content

Commit

Permalink
Adaption for visionOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
m4p authored and JoeMatt committed Jan 27, 2024
1 parent 5e05761 commit f65824d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extension HeroTransition: UITabBarControllerDelegate {
}
return true
}

#if !os(visionOS)
public func tabBarController(_ tabBarController: UITabBarController, interactionControllerFor animationController: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning? {
return interactiveTransitioning
}
Expand All @@ -50,6 +50,8 @@ extension HeroTransition: UITabBarControllerDelegate {
self.inTabBarController = true
return self
}
#endif

}

#endif

0 comments on commit f65824d

Please sign in to comment.