Post
@konstantin One does not simply use SwiftUI because if one does, one may experience tears and/or need to use expedited review
@konstantin Dont post it! The SwiftUI Mob on Mastodon will hang you for it. 馃槶
@obrhoff Let them come 鈽猴笍. I have a reproducible case where `if #available(iOS 26.0, *) {}` in a conditional modifier will absolutely break reactivity on iOS 18.6 but not on iOS 26. No amount of "team discipline" can protect against undefined behaviour in the SDK. (or rather, it's well defined but the side effects are so far reaching it may as well be undefined, as explained in that post by Chris Eidhof)
@konstantin @obrhoff The availability check should actually be fine as it is constant during the execution of the program, it is unrelated to the original problem. So I wonder what issue you actually have.
@konstantin interesting, would you mind sharing the code?
And it's not like one hadn't been warned this can happen 馃槄
https://www.objc.io/blog/2021/08/24/conditional-view-modifiers/
A space for Bonfire maintainers and contributors to communicate