|
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 Get accurate app localizations in minutes using AI. Choose your languages & receive translations for 40+ markets!
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.