Swiftui, Swift, iOS App Development, iOS Development, Mobile App Development.
the Payment Button In this section, we will attempt to translate the text in “Pay for 4 drinks” into Chinese. The button is defined in the ButtonGroupView as follows: Button { showPayResult.toggle() } label: { Text("Pay for \(order.totalQuantity) drinks") } How to set the corresponding key in the