Description
Hi there! I really love this type of onboarding experience, but trying to use it in my app I'm running into a problem...
In my main ContentView where I'd like to use SwiftUIProgressiveOnboard, I have embedded another swiftUI view, lets called it OtherSwiftUIView which contains a number of Views that I'd also like to have FilterViews created on.
I've tried adding
@ObservedObject var onboard = ProgressiveOnboard.init(withJson: progressiveOnboardsJson)
to my OtherSwiftUIView, then used
.background(ProgressiveOnboardGeometry(withRect: $onboard.filterViews[0]))
on views within that views body, but all the newly added FilterViews get placed up at the top of the screen and not where I'd expect them to show up.
I hope this is clear enough, please let me know if you need a better example.