iOS 16 Solution
![](https://janeshswift.com/wp-content/uploads/2022/09/Hide-Home-Indicator-SwiftUI.png)
To Hide Bottom home indicator line on SwiftUI use .persistentSystemOverlays(.hidden)
. It also support animation. First it will show dark & turns to light gray with animation.
struct ContentView: View {
var body: some View {
Text("iPhone Home Indicator is Hidden👇🏽")
.persistentSystemOverlays(.hidden)
}
}