创建弹出式动画
答
- (void) killHUD
{
[alertView dismissWithClickedButtonIndex:0 animated:YES];
[alertView release];
alertView = nil;
}
- (void)presentSheet:(NSString *)message withFrame:(CGRect)frame
{
if(!alertView)
{
alertView = [[CustomAlertView alloc] initWithFrame:frame onView:self.window];
alertView.autoresizingMask = UIViewAutoresizingFlexibleBottomMargin;
[alertView setNeedsDisplay];
[alertView setText:message];
[alertView show];
}
}
,您可以使用这些功能由我creaed显示一个隐藏的加载动画弹出..
编码快乐..
的可能重复http://stackoverflow.com/questions/2600779/custom-alert-view – kennytm 2010-04-23 12:50:53
对不起,我没有看到这个问题 – dragon 2010-04-23 13:08:12