uialertview怎么换行

2025-04-07 21:17:07
推荐回答(1个)
回答1:

UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Default Alert View"message:@"Defalut" delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil]; 标准的双按钮,cancel那个buttonIndex 为0, ok button 的