您可以在一个 DisplayAlert 中有不止一行吗?

Can you have more then one line in one DisplayAlert?

所以我有这段代码,我在想你是否可以有不止一行的文本?

等待 DisplayAlert("Contact","Name: " + Contact.Fullname, "Close");

我也想显示电子邮件地址和年龄

DisplayAlert("Contact","Name: " + Contact.Fullname + "\nAddress: " + Contact.Address + "\nEmail: " + Contact.Email + "\nAge: " + Contact.Age, "Close");
String contact_str = "Contact: " + name;
String email_str = "Address: " + email;
String age_str = "Age: " + age;
DisplayAlert(contact_str +"\n"+ email_str +"\n"+ age_str);