UIAlertView *myAlert=[[UIAlertView alloc]
initWithTitle:@"Logging in" message:@"you are a member in our website \nWelcome Dear %@ ",UserName.text
delegate:self
cancelButtonTitle:@"Done"
otherButtonTitles:nil];
这段代码对我显示错误,因为我输入了字符串变量,它是一个名为“用户名”的文本字段的文本
那我怎么能把这条线分开呢?
initWithTitle:@"Logging in" message:@"you are a member in our website \nWelcome Dear %@ ",UserName.text delegate:self
因为错误在这里显示在delegate HELP这个词中