In the first version of Breve I placed timers in the tab view’s bottom accessory, but it broke in iOS 26.1 beta. So in the latest release, I switched to a custom view with an interactive glass effect instead. To keep it always visible above the tabs, I used safeAreaBar().
#SwiftUI #iOSDev
@natpanferova How are you handling using liquid-glass stuff while mantaining compability with older iOS versions? For me it gets quite annoying to have lots of` if #available` and sometimes separate views...
@dfortes Breve requires iOS 26, so no issue there 😀 But for other apps, availability checks is the way to go unfortunately... In one of our apps we have a completely separate branch of UI for iOS 26, and we switch based on the OS version right in the root view.
@natpanferova Yeah, I'm almost considering separate UIs too. Thanks for the info!