I've got an issue with a white space that I'm not really sure what it is and why it's there, it might be somekind of navigation bar, but I can't affect it in that case...
In a view I have NavigationView with a list of NavigationLinks. In that View there is no navigation bar and no white space above it:
NavigationView{
List(configurationList.configurations.filter{$0.fkTypeId == configurationList.currentProductType}, id: \.uid) { item in
NavigationLink(destination: NewLogScanBarcodesIconView().environmentObject(item)){
Text(item.name)
.font(.headline)
}
}
.navigationBarTitle("")
.navigationBarBackButtonHidden(true)
.navigationBarHidden(true)
}
When I click the NavigationLink I come to the destination, but above that view (and alla following views) is a white space, similar to a navigation bar but I don't know why it's there and how to remove it. That view has no NavigationView at all, but it does have another NavigationLink. I've tried to make that view into a navigationView on its own (even if it doesn't really fit its purpose) to try to remove the white space by using the ".navigationBarHidden" on it as well, but that just gives me an extra white space that I can remove, but the original white space is still there.
So is it a navigationBar or anything else? How do I remove it?