ios8后,发送LocalNotification需要申请权限

scheduleNotification之前,需要申请权限,如下:

 

Leave a Reply

Your email address will not be published.