Skip to content
项目

关于

一款简洁的 iOS 状态栏。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

KGStatusBar

A minimal status bar for iOS. Similair to the status bar seen in the MailBox app. It covers the top status bar and appears like the message is embedded within.

KGStatusBar

Installation

  • Drag the KGStatusBar/KGStatusBar folder into your project.
  • Add #include "KGStatusBar.h" to your .pch file

Usage

KGStatusBar is a singleton. Make sure your view displays the default status bar for this to be effective. I defaulted the colors to match default. Change if needed.

Showing the Status Bar

  • [KGStatusBar showWithStatus:@"Loading"];
  • [KGStatusBar showErrorWithStatus:@"Error Synching Files."];
  • [KGStatusBar showSuccessWithStatus:@"Successfully synced"];

Dismissing Status Bar

  • [KGStatusBar dismiss];

Enjoy :)

Brought to you you by Kevin Gibbon. Currently raising hell at Shyp

探索相关项目

加载中…