本地推送

1.创建开关如图操作 2.开关为OFF 3.拖拽后Connection选择Action 4.Type选择UISwitch 5.ViewController中点击开关按钮 if(sender.on == YES){ UILocalNotification *local=[[UILocalNotification alloc]init]; //设置通知的标题
相关文章
相关标签/搜索