在我的项目中,我使用了自动布局,并且在我的ViewController上添加了一个或多个标签,为此我想通过代码减少目的使用“for”循环,但使用“constraintWithVisualFormate”。我不明白!如何使用for循环?我的代码:emailTextField=[[UILabelalloc]init];emailTextField.text=@"MD(Medician)";emailTextField.textColor=[UIColorblackColor];emailTextField.translatesAutoresizingMaskIntoConstraints=