MTStatusBarOverlay (状态栏,添加自定义内容库)

商夜洛
2023-12-01

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

https://github.com/myell0w/MTStatusBarOverlay

 类似资料: