Post

Replies

Boosts

Views

Activity

Reply to how to add this button side by side with Tab in Vision OS
mmm couldn't you try doing something like that? obviously mine is just an idea, certainly not the best solution ^_^ .ornament(attachmentAnchor: .scene(.leading), ornament: { VStack { VStack { Button { } label: { Image(systemName: "circle") } Button { } label: { Image(systemName: "circle") } Button { } label: { Image(systemName: "circle") } } .padding() .glassBackgroundEffect() Spacer(minLength: 100.0) VStack { Button { } label: { Image(systemName: "circle") } } .padding() .glassBackgroundEffect() } })
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’24
Reply to how to add this button side by side with Tab in Vision OS
mmm couldn't you try doing something like that? obviously mine is just an idea, certainly not the best solution ^_^ .ornament(attachmentAnchor: .scene(.leading), ornament: { VStack { VStack { Button { } label: { Image(systemName: "circle") } Button { } label: { Image(systemName: "circle") } Button { } label: { Image(systemName: "circle") } } .padding() .glassBackgroundEffect() Spacer(minLength: 100.0) VStack { Button { } label: { Image(systemName: "circle") } } .padding() .glassBackgroundEffect() } })
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’24