RRNotificationBar 1.0.2

RRNotificationBar 1.0.2

测试已测试
Lang语言 SwiftSwift
许可 MIT
Released最新发布2017 年 2 月
SwiftSwift 版本3.0
SPM支持 SPM

Rafat Touqir Rafsun 维护。



  • Rafat Touqir Rafsun

RRNotificationBar Awesome

类似 iOS 10 的通知栏。

iOS 10 风格的通知栏,专为 iOS 10 及以下版本的应用内显示通知消息而设计。在 iOS 9~10 中,在接收到应用内远程通知后,可以用于多个目的。

Animation

安装

手动

RRNotificationBar/RRNotificationBar.swift 文件拖放到你的项目中。

示例

显示

RRNotificationBar().show(title: "Awesome Title", message: "Cool message received",onTap:{
            print("tapped")
        })

隐藏

尽管会自动隐藏,但你也可以强制隐藏。

let notificationBar = RRNotificationBar()
//after showing,hide if needed before timeout
notificationBar.hide()

许可

MIT 许可证

在法律的允许范围内,《RAFAT》已放弃对这一作品的所有版权及其相关的或邻近的权利。