디스플레이에 공간이 부족하여 UIALertView에 UILabels 또는 NSStrings를 추가하고 싶습니다.UIalertView에 UILabel 또는 NSString 추가하기
UIAlertView *alertDialog;
alertDialog = [[UIAlertView alloc]
initWithTitle:@"random" message:nil delegate:self cancelButtonTitle:@"Dismiss" otherButtonTitles: nil];
//firstString=[[UILabel alloc]initWithFrame: CGRectMake(12.0, 70.0, 260.0, 25.0)];
[alertDialog addSubview:firstString];
[alertDialog show];
[alertDialog release];
에 배경 색상을 변경합니다. 더 많은 공간을 확보하기 위해 인터페이스를 스크롤보기로 고려한 적이 있습니까? – Luke
어떻게 작동하지 않습니까? gdb에서 오류를 표시 할 수 있습니까? – chown