//每个文字加一个换行符
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20, 100, 250, 200)];
label.text = @"请\n竖\n直\n方\n向\n排\n列";
label.numberOfLines = [label.text length];
//每个文字加一个换行符
UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20, 100, 250, 200)];
label.text = @"请\n竖\n直\n方\n向\n排\n列";
label.numberOfLines = [label.text length];