Posts

Post not yet marked as solved
0 Replies
278 Views
Hello, I just started to learn SwiftUI, and I have a issue: why my TabBar isn't transparent when scrolling ? Here's my code : var body: some View { VStack { ZStack(alignment: .bottomTrailing) { ScrollViewReader { scroll in // my bubbles here } .padding(.bottom, 70) .scrollDismissesKeyboard(.interactively) ZStack { HStack { TextField("Type your message", text: $newMessage) .padding(9) .background( RoundedRectangle(cornerRadius: 19) .foregroundColor(Color(.systemGray6)) ) } .padding() } } } } Thank you and have a great day !
Posted Last updated
.