Thank you for the information.
I tried it on a real machine and it works as you said.
It seems to be a problem with the simulator.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: