Skip to content

Instantly share code, notes, and snippets.

@duanebester
Created January 28, 2020 03:05
Show Gist options
  • Save duanebester/11e0656458c285f265a872560deb5931 to your computer and use it in GitHub Desktop.
Save duanebester/11e0656458c285f265a872560deb5931 to your computer and use it in GitHub Desktop.
Tab Icons View
import SwiftUI
struct TabIconsView: View {
var body: some View {
HStack {
Spacer()
Image(systemName: "person.crop.circle")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 25, height: 25)
Spacer()
Image(systemName: "music.note.list")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 25, height: 25)
Spacer()
Image(systemName: "gear")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 25, height: 25)
Spacer()
Image(systemName: "square.and.pencil")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 25, height: 25)
Spacer()
}.padding(16)
}
}
struct TabIconsView_Previews: PreviewProvider {
static var previews: some View {
TabIconsView()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment