I am experiencing this issue as well. When I try to run on 16.0, I receive this error: Symbol not found: _UIAccessibilityTraitToggleButton. We do use the toggleButton accessibility trait, but it is always wrapped in a if #available(iOS 17, *).
The app is successfully building, so I think that means the code is correct. I get the error on runtime, so I'm wondering if this is a beta issue (I'm on Xcode 26 beta 5). Maybe the #available flag is being ignored?
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: