2012-10-04 45 views

回答

1

您可以自定義加載視圖 -

loadingView = [[UIImageView alloc] initWithFrame:CGRectMake(130, 220, 60, 60)];  
loadingView.image =[UIImage imageNamed:@"yourimage.png"]; 
activity = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite]; 
activity.frame = CGRectMake(15, 15, 30, 30); 
[activity setHidesWhenStopped:YES]; 
[loadingView addSubview:activity]; 
+0

Thaks爲您的重播,如果我需要添加多個圖像我如何添加這些圖像 – sabir

相關問題