2013-04-05 5 views

답변

0
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Popup Title" 
               message:@"This is pop up window/ Alert" 
               delegate:nil 
             cancelButtonTitle:@"OK" 
             otherButtonTitles:nil]; 

UIImageView *tempImageView=[[UIImageView alloc]initWithFrame:CGRectMake(20,20,50,50)]; 

tempImageView.image=[UIImage imageNamed:@"abcd.png"]; 

[alert addSubview:tempImageView]; 

[alert show]; 
+1

이 iOS 7 SDK에서 올바르게 작동하지 않습니까? –

+1

맞음 ... ios 7에 대해 다음 솔루션을 참조하십시오. http://stackoverflow.com/questions/18729220/uialertview-addsubview-in-ios7 – BhushanVU

관련 문제