如何使HUD具有多條線? 他是我的代碼,但LabelText的是一條線HUD與多條線
HUD = [MBProgressHUD showHUDAddedTo:[[TTNavigator navigator] window] animated:YES];
HUD.customView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"noImage.png"]];
HUD.mode = MBProgressHUDModeCustomView;
HUD.delegate = self;
HUD.labelText = @"text1 \n text2";
[HUD hide:YES afterDelay:3];
http://stackoverflow.com/a/15031656/1557383ü可以試試這個。它爲我工作。 – vinny 2014-08-05 09:31:04