所以我有一个TabView,如下所示,但是当我试图在ScrollView中实现它时,我总是要给它一个固定的高度。有没有一种方法告诉表视图使用它在scrollView中需要的空间?我不知道内在内容的高度(顺便说一下)。随着时间的推移而改变),所以固定的高度对我不起作用。我试过.frame(maxHeight:.infinity),但这似乎行不通 var body: some View {<em
我的代码非常直接 Text("Edit your mobile number for emergencies") MobileNumberListItem(mobileCountryCode: $selectedCountryCode, mobileNumber: $selecteMobileNumber)
ButtonPrimary(isEnabled: true