摘要:
//比如在某个方法里设置后UITextField* testFild=[[UITextField alloc] initWithFrame:CGRectMake(0, 48, 200, 200)]; testFild.text = @"qingjoin"; testFild.tag = bbbb; [self.view addSubview:testFild];//在另一个方法里面也可以得到这个值 UITextField *t = (UITextField*)[self.view viewWithTag:bbbb]; NSLog(@"ttfftf:%@" 阅读全文