MTStatusBarOverlay 介绍
MTStatusBarOverlay 是一个定制的 iOS 状态栏,用于覆盖系统默认的状态栏,类似 Reeder, Evernote and Google
Mobile App
示例代码:
MTStatusBarOverlay *overlay = [MTStatusBarOverlay sharedInstance]; overlay.animation = MTStatusBarOverlayAnimationFallDown; // MTStatusBarOverlayAnimationShrink overlay.detailviewmode = MTDetailviewmodeHistory; // enable automatic history-tracking and show in detail-view overlay.delegate = self; overlay.progress = 0.0; [overlay postMessage:@"Following @myell0w on Twitter…"]; overlay.progress = 0.1; // ... [overlay postMessage:@"Following myell0w on Github…" animated:NO]; overlay.progress = 0.5; // ... [overlay postImmediateFinishMessage:@"Following was a good idea!" duration:2.0 animated:YES]; overlay.progress = 1.0;
MTStatusBarOverlay 官网
https://github.com/jianfeng/MTStatusBarOverlay
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。