TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Multiple popovers at the same time.

Forums > SwiftUI

I have interesting problem and am wondering if there is a solution. I've got row of Images on Screen, each representing different User, I would like to be able to present a popover view above each user's picture showing their name, BOD or other info. Popover Views are residing fully within UserView structs. When I enter this UserList view and I click on one user a popover shows up correctly. However, when I tap on another user, the first user's info hide and then I can tap again to show the popup for the second user despite the fact that this second popover is actually inside the UserView struct, bot the UserList. Is it possible to have multiple popovers shown in my scenario?

1      

Hacking with Swift is sponsored by Blaze.

SPONSORED Still waiting on your CI build? Speed it up ~3x with Blaze - change one line, pay less, keep your existing GitHub workflows. First 25 HWS readers to use code HACKING at checkout get 50% off the first year. Try it now for free!

Reserve your spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.