На этом изображении вы можете видеть, что над списком есть пробел.
[img]https://i.sstatic .net/03pSB.png[/img]
Я пробовал использовать:
Код: Выделить всё
.navigationBarHidden(true)
Сейчас я настраиваю свой navigiationView следующим образом:
Код: Выделить всё
NavigationView {
FileBrowserView(jsonFromCall: URLRetrieve(URLtoFetch: applicationDelegate.apiURL))
.navigationBarHidden(true)
}
Код: Выделить всё
List {
Section(header: Text("Root")) {
FileCell(name: "Test", fileType: "JPG",fileDesc: "Test number 1")
FileCell(name: "Test 2", fileType: "txt",fileDesc: "Test number 2")
FileCell(name: "test3", fileType: "fasta", fileDesc: "")
}
}
Подробнее здесь: https://stackoverflow.com/questions/575 ... gationview
Мобильная версия