-1

How to create a pop up animation on iPhone? I want show my uiview as a popup view, like uialertview design.

dragon
  • 317
  • 4
  • 18

1 Answers1

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];
    }
}

You can use these functions creaed by me to show an hide the loading animation popup..

Happy Coding..

Dilip Manek
  • 9,095
  • 5
  • 44
  • 56
Suresh Varma
  • 9,750
  • 1
  • 60
  • 91