|
Hello, I am having trouble embedding a ScrollView in a NavigationStack or NavigationView. The ScrollView does not extend to the bottom of the screen. If I remove the NavigationStack the ScrollView works as expected. I have added .ignoresSafeArea() and .ignoresSafeArea(edges: .all) on both the ScrollView and the NavigationStack and tried wrapping the ScropllView in a ZStack, but nothing seems to change the behavior. Does anyone have any advice on how this can. be done or what i can try? I have attached a link that shows the issue. Thanks for any help!!! Here is my View:
|
|
I'm not sure if I understand the issue however done this. Works fine
|
|
Yes, thank you. I should have tried it in a new project. It turns out I am doing this nmy init and for some reason one of these is causing the issue. I will investigate more, but I am all set now:
|
SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.
Sponsor Hacking with Swift and reach the world's largest Swift community!
You need to create an account or log in to reply.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.