ViewModifier on a TabView doesn't work in Xcode 16.3
Originator: | andrea | ||
Number: | rdar://FB17083247 | Date Originated: | 02/04/2025 |
Status: | Open | Resolved: | |
Product: | Xcode | Product Version: | 16.2 (16C5032a) |
Classification: | Reproducible: | Always |
I have an iOS app that use a ViewModifier to customize the TabBar appearance (using the UIKit APIs). The code works properly when compiled with Xcode 16.2, but it doesn't work with Xcode 16.3 I created a sample project to replicate the issue. Basically we have a `defaultTabBarStyle` extension that apply a `ColoredTabBar` modifier. From what we can see, the `body` method of the modifier is never called when compiled with Xcode 16.3 In the attached project you can verify it. If you build and run the app with Xcode 16.2, the tab bar is tinted with orange colour, meanwhile the code does nothing when compiled with Xcode 16.3
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at feedbackassistant.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!