如何在iPhone上创建弹出动画?我想把我的uiview作为一个弹出视图显示,就像uialertview design。
答案 0 :(得分:0)
- (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];
}
}
您可以使用我创建的这些功能来显示隐藏加载动画弹出窗口..
快乐编码..