You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: