1
我有一个调用其他视图中查看[厦门国际银行] [厦门国际银行], 当我去到第二个观点,一个值将被发送到第二视图的.mIOS传递消息模式视图
initWithNibName
但是当我打电话,作为一个模态的视图第二种观点,是不是把我的消息,
我该怎么办呢?
Contacts *info = [XlistArray objectAtIndex:indexPath.row];
string1 = info.c_name;
editContactViewController *mensaje =[editContactViewController alloc];
mensaje.string2 = string1;
editContactViewController *vistaEdit = [[editContactViewController alloc] initWithNibName:nil bundle:nil];
vistaEdit.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentModalViewController:vistaEdit animated:YES];
/*
Contacts *info = [XlistArray objectAtIndex:indexPath.row];
string1 = info.c_name;
editContactViewController *mensaje =[editContactViewController alloc];
mensaje.string2 = string1;
editContact = [[editContactViewController alloc] initWithNibName:@"editContactViewController" bundle:nil];
[self.view addSubview:mensaje.view];
[UIView commitAnimations];
[tableView deselectRowAtIndexPath:indexPath animated:YES];*/
请注意,string1为我发送消息,string2为我的接收器, 注释的部分是一个工程,用于发送,
我怎么能发送消息?基本对不起
非常感谢!