1.
//字典参数
NSDictionary *dataDic = [NSDictionary dictionaryWithObject:self.chepaihao forKey:@"chename"];
//创建通知
[[NSNotificationCenter defaultCenter] postNotificationName:@"infoNotification" object:nil userInfo:dataDic];
2.
//注册通知
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveNotification:) name:@"infoNotification" object:nil];
3.
//接收通知
-(void)receiveNotification:(NSNotification *)infoNotification {
NSDictionary *dic = [infoNotification userInfo];
NSString *str = [dic objectForKey:@"chename"];
[self.QiYuanDiBtn setTitle:str forState:UIControlStateNormal];
}