How to add tools such as search and setting in new ios TabView?

I want to add a tool bar (setting search )to my app just like the apple file app using pure swiftUI, is it possible, if not, can i using a UIKit to implement it.

struct MainView: View {
var body: some View {
TabView {
Tab("View 1", systemImage: "square.grid.3x2") {
View1()
}
Tab("View 2", systemImage: "square.grid.2x2") {
View2()
}
}
.tabViewStyle(.sidebarAdaptable)
}

Tbm estou com um projeto de transformar o site em app.

How to add tools such as search and setting in new ios TabView?
 
 
Q