SwiftUI NavigationButton without the disclosure indicator?

前端 未结 16 974
不知归路
不知归路 2020-12-02 12:04

When making a List with a row that pushes to a new view, SwiftUI adds a disclosure indicator \">\" automatically? How do I remove it if I don\'t want it?

            


        
16条回答
  •  星月不相逢
    2020-12-02 12:56

    Once you put your button in a scrollview, the disclosure button will be hidden. Just make sure to disable your scroll indicator.

提交回复
热议问题