NSString *str = @"你要放在label裏的文本字符串 \n 換行符";ide
// 固然須要先得到label 的UILabel的實例字符串
label.numberOfLines = 0; // 最關鍵的一句!!!!!!it
label.text = str;class