Yes, we need Apple to fix this annoying issue in Swift 3.0.
In the meantime, I am using this that seems to work in iOS14.4 and XC 12.4:
VStack {
ScrollView {
ForEach()
}
}
Yes, that is right, the ScrollView inside the VStack, also works with LazyVStack, which seems just the opposite than you would think.
The use case here is that the VStack has a small frame and not having the ScrollView and a large number of items will override the frame and cause the VStack to grow beyond the frame, which seems very wrong... another battle for another day.
Hope this helps your frustrations.
Cheers, and get ready for "one last thing"...
Felipe
Post
Replies
Boosts
Views
Activity
Same thing happened here... no sound, running on iOS14 on my iPhone 11.
Then, I realized that the Ring/Silent Switch Button on my phone was turned to OFF. Turning it on fixed the problem.
Could this be it? It is worth trying.
This still seems a bit wrong... so you have to set the ringer on in order to hear tts? What if I want to keep the ringer off?
Same situation here... Apple: where is XCode Simulator 16.5.1?