Hallo,
hier mein UIAlertView mit UIActivityIndicatorView:
Alles anzeigen
Beim Kompilieren erhalte ich den Fehler 'saving' undeclared. Wie kann das sein?
hier mein UIAlertView mit UIActivityIndicatorView:
Quellcode
- saving = [[[UIAlertView alloc] initWithTitle:@"Bitte warten"
- message:nil
- delegate:self
- cancelButtonTitle:nil
- otherButtonTitles:nil] autorelease];
- [saving show];
- UIActivityIndicatorView *activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
- activityIndicator.center = CGPointMake(saving.bounds.size.width / 2.0f, saving.bounds.size.height - 40.0f);
- [activityIndicator startAnimating];
- [saving addSubview:activityIndicator];
- [activityIndicator release];
Beim Kompilieren erhalte ich den Fehler 'saving' undeclared. Wie kann das sein?