NSString * message = [NSString stringWithFormat:@"%@成功", text]; MTStatusBarOverlay *overlay = [MTStatusBarOverlay sharedInstance]; overlay.animation = MTStatusBarOverlayAnimationFallDown; overlay.detailViewMode = MTDetailViewModeHistory; [overlay postImmediateFinishMessage:message duration:2.0 animated:YES]; overlay.progress = 1.0; }