Skip to content

Instantly share code, notes, and snippets.

@duanebester
Created January 28, 2020 03:28
Show Gist options
  • Save duanebester/7a4853036add7d5902a71efc15395dec to your computer and use it in GitHub Desktop.
Save duanebester/7a4853036add7d5902a71efc15395dec to your computer and use it in GitHub Desktop.
Info Pane View
import SwiftUI
struct InfoPaneView: View {
var body: some View {
VStack(alignment: .trailing, spacing: 0.0) {
Spacer()
ZStack {
VisualEffectView()
VStack {
NowPlayingView()
Divider()
TabIconsView()
}
}.frame(height: 160)
}.edgesIgnoringSafeArea(.bottom)
}
}
struct InfoPaneView_Previews: PreviewProvider {
static var previews: some View {
InfoPaneView()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment