How to put View on top of all other views in SwiftUI
问题 I'm developing SwiftUI test app and I added my custom DropDown menu here. All works fine except dropdown menu is below other views. So users can't see & click dropdown menu correctly. Here's my dropdown menu. import SwiftUI var dropdownCornerRadius:CGFloat = 3.0 struct DropdownOption: Hashable { public static func == (lhs: DropdownOption, rhs: DropdownOption) -> Bool { return lhs.key == rhs.key } var key: String var val: String } struct DropdownOptionElement: View { var dropdownWidth:CGFloat