HMCNotification 1.0.3

HMCNotification 1.0.3

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布最新发布2018年10月

您的名字维护。



  • Himal Madhushan

HMCNotification

一个可定制简单的iOS 8推送通知样式的控件,以便向用户展示快速消息。

安装

  1. 创建一个Pod文件并添加以下内容
source 'https://github.com/CocoaPods/Specs.git'
target '<TARGET_NAME>' do
	pod 'HMCNotification', '~> 1.0'
end

配置和显示

[HMCNotification sharedInstance].titleFontColor = [UIColor yellowColor];
[HMCNotification sharedInstance].blurStyle = UIBlurEffectStyleLight;

然后使用以下方式显示通知

[HMCNotification showCustomPushWithTitle:@"Woohooo" message:@"Congrtaz, It all went successfully. Now you've become a part of iOS dev family" iconImageName:@"pushIconHappy"];

注意

默认使用UIBlurEffectStyleExtraLight模糊效果

默认字体颜色为black

Notification View iPhone Screenshot

喜欢😃