NSToastView
用法
要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install
。
该类用于在 iOS 应用中显示 Toast,类似于 Android 的 Toast。
要求
iOS 6.0
安装
NSToastView 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中:
示例使用
[NSToastView nsShowToast:@"This is a test Toast" duration:4.0f completion: ^{
[NSToastView nsShowToast:@"" delay:0.5f];
}];
##POD
pod "NSToastView"
屏幕截图
作者
rahul-apple, [email protected]
许可证
NSToastView 可在 MIT 许可下使用。更多信息请参阅 LICENSE 文件。