我点击开启消息推送。跳转到ios的设置页面。我如何可以监听左上角的按钮了。andriod有startActivityForResult可以监听。但是ios不知道要怎么编写
看到有大神写的
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(endBackground) name:UIApplicationWillEnterForegroundNotification object:nil];
即可监听点击了系统返回方法
但是我要怎么转化为njs的代码方式了?
shawnji
可以接收到通知的传参吗
2022-10-25 12:59