SwiftUI: Sizing a popover to fit

前端 未结 2 1399
暖寄归人
暖寄归人 2020-12-15 00:21

I\'ve got a little popover sample in which a button triggers a popover. The popover only contains a little bit of UI, two buttons in this case, but it still takes up a lot o

2条回答
  •  春和景丽
    2020-12-15 00:59

    It looks like this has been fixed in iOS 13.4 / Xcode 11.4 Beta. The popover will size to whatever it's contents are now.

提交回复
热议问题