1
정수 (hi)가 0이라고합시다. 메시지에 0을 표시하라는 알림이 필요합니다.알림에 대한 대리자 만들기
-(IBAction) alert3;
{
int hi = 0;
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"UIAlertView"
message:@"%d"
delegate:hi
cancelButtonTitle:@"Ok"
otherButtonTitles: nil];
그리고 나는 오류 얻을 : 내 코드는
올바른 구현! –