uias / Tabman

™️ A powerful paging view controller with interactive indicator bars
https://uias.github.io/Tabman
MIT License
2.86k stars 237 forks source link

iPhone X bottom margin how to FILL #550

Closed alyfreym closed 3 years ago

alyfreym commented 3 years ago

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)

IMG_0360

You can see that it does not fill bottom extra margin. how to make it fill?

Other useful things

msaps commented 3 years ago

@alyfreym try using the TMSystemBar wrapper (by default the bar background doesn’t extend beyond the safe area)

addBar(bar.systemBar(), dataSource: self, at: .bottom)
alyfreym commented 3 years ago

Thanks it works.