有了 Intent 为什么还需要 PendingIntent?PendingIntent 有什么使用场景?
分类:
其他好文 时间:
2018-05-25 13:50:29
阅读次数:
209
UIDeviceOrientationDidChangeNotification // 设备旋转 UIDeviceBatteryStateDidChangeNotification // 电池状态改变 UIDeviceBatteryLevelDidChangeNotification // 电池电量 ...
分类:
其他好文 时间:
2018-05-23 19:08:48
阅读次数:
191
面试被问到这个问题,不是很清楚,写代码测试并记录一下。 #pragma mark - 测试通知-(void)testNotification{ // 初始化一个按钮 UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(100, ...
分类:
移动开发 时间:
2018-04-27 23:02:37
阅读次数:
302
首先,sns = Simple Notification Service,sqs = Simple Queue Service sns与sqs有什么不同? (ref:https://stackoverflow.com/questions/13681213/what-is-the-difference ...
分类:
编程语言 时间:
2018-04-16 21:31:34
阅读次数:
825
- (void)viewDidLoad { [super viewDidLoad]; // 通知 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notification:) name:nil obj... ...
分类:
移动开发 时间:
2018-04-13 17:52:48
阅读次数:
228
1、确保确保iptables及selinux不会成为阻碍。保持集群时间同步2、在ka1上 vim /etc/keepalived/keepalived.confglobal_defs {
notification_email {
root
分类:
其他好文 时间:
2018-04-03 15:21:13
阅读次数:
110
Notification.requestPermission(function(status) { //default 用户没有接收或拒绝授权请求 不能显示通知 //granted 用户接受授权请求 允许显示通知 //denied 用户拒绝授权请求 不允许显示通知 console.log('perm... ...
分类:
其他好文 时间:
2018-04-03 14:26:53
阅读次数:
485
本地推送: UILocalNotification *notification=[[UILocalNotification alloc] init]; if (notification!=nil) { NSDate *now=[NSDate new]; notification.fireDate=[ ...
分类:
移动开发 时间:
2018-03-31 12:07:17
阅读次数:
237
IPC,Inter-Processor Communication是SYS/BIOS处理核间通信的组件: IPC的几种应用方式: 1.最小使用(Minimal use) 这种情况是通过核间的通知机制(notification)来实施的,而一个通知所携带的信息是非常小的(一般是32bits),所以称为 ...
分类:
其他好文 时间:
2018-03-27 12:26:49
阅读次数:
214