Closed alyfreym closed 3 years ago
I add bottom bar using this code
let bar = TMBar.TabBar() bar.backgroundView.style = .blur(style: .dark) bar.layout.transitionStyle = .none addBar(bar, dataSource: self, at: .bottom)
let bar = TMBar.TabBar()
bar.backgroundView.style = .blur(style: .dark)
bar.layout.transitionStyle = .none
addBar(bar, dataSource: self, at: .bottom)
You can see that it does not fill bottom extra margin. how to make it fill?
@alyfreym try using the TMSystemBar wrapper (by default the bar background doesn’t extend beyond the safe area)
TMSystemBar
addBar(bar.systemBar(), dataSource: self, at: .bottom)
Thanks it works.
New Issue Checklist
Issue Description
I add bottom bar using this code
let bar = TMBar.TabBar()
bar.backgroundView.style = .blur(style: .dark)
bar.layout.transitionStyle = .none
addBar(bar, dataSource: self, at: .bottom)
You can see that it does not fill bottom extra margin. how to make it fill?
Other useful things