My app is suppose to disable (grey) certain Tab Bar items depending on setup. This is done using the following code.
self.tabBar.items?[1].isEnabled = false # used in TabBarController
self.tabBarController?.tabBar.items?[1].isEnabled = false # used in any other Controller
All works fine, but only on iOS (all versions).
On iPadOS >= 18.0 (the Tab Bar moved to the top of the screen) the Tab Bar item remains enabled and selectable.
This seems (?!) to be a bug.
If so, is there any way to circumnavigate this behaviour?