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


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

posted @ 2014-05-12 10:38  hhhker  阅读(512)  评论(0编辑  收藏  举报