-1
Comment créer une animation pop-up sur iPhone? Je veux montrer mon uiview comme une vue de popup, comme la conception d'uialertview.Créer une animation contextuelle
Comment créer une animation pop-up sur iPhone? Je veux montrer mon uiview comme une vue de popup, comme la conception d'uialertview.Créer une animation contextuelle
- (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];
}
}
Vous pouvez utiliser ces fonctions creaed par moi de montrer une peau la fenêtre d'animation de chargement ..
Bonne programmation ..
double possible de http://stackoverflow.com/questions/2600779/custom-alert-view – kennytm
désolé je n'ai pas vu cette question – dragon