腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(8193)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
addObserver
:名称
我使用的
addObserver
如下:问题是,当我更改
addObserver
将运行以下代码行,但在添加名称时将其忽略: [[NSNotificatio
浏览 5
提问于2013-03-19
得票数 0
回答已采纳
1
回答
CoreData
addObserver
NSKeyValueChangeInsertion
有没有办法获取在NSManagedObject上使用带有选项NSKeyValueChangeInsertion的
addObserver
:forKeyPath:options:context:添加的对象
浏览 1
提问于2010-12-10
得票数 0
回答已采纳
1
回答
NotificationCenter
addObserver
()问题
我正在尝试使用NotificationCenter.
addObserver
(...)在打开本地通知时启用分段到特定视图override func viewDidLoad() { NotificationCenter.default.
addObserver
(self, selectorself.performSegue(withIdentifier: "NotificationView"
浏览 6
修改于2020-11-18
得票数 0
2
回答
伪造
addObserver
microphone);//to the device manager: adm.
addObserver
(microphone); 由于adm是一个模拟,我知道我必须定义
addObserver
的逻辑,但我不知道该如何- when(adm.
addObserver
(Observer o)).the
浏览 1
提问于2011-02-10
得票数 0
回答已采纳
1
回答
NSNotification postNotification和
addObserver
它不起作用--
addObserver
方法中的选择器没有被调用。UIButton *)sender { [center
addObserver
浏览 4
提问于2014-06-09
得票数 1
回答已采纳
1
回答
NotificationCenter -
addObserver
未调用
但是
addObserver
没有接到电话。你们谁能查一下,让我知道我错过了什么吗?有两个简单的类,一个发布通知,另一个听通知。当我运行程序时,我只看到控制台中的“发送通知”。 super.viewDidLoad() NotificationCenter.default.
addObserver
浏览 1
提问于2020-07-08
得票数 0
回答已采纳
1
回答
ember removeObserver和
addObserver
removeObserver和
addObserver
的正确语法是什么?; Ember.
addObserver
浏览 0
修改于2014-11-11
得票数 0
2
回答
NSNotificationCenter
addObserver
被忽略
但是,使用XCode 5.1.1 (Coreket1.5),我发现如果
addObserver
调用在init方法中,它实际上不会被注册(仅对于这两个类,它在不同类的父对象中工作)。was (there are actually 3 Observer calls made)
addObserver
我昨晚唯一的解决方案是将
addObserver
调用重构为一个新方法,并在init的末尾调用该方法。 然而,我不明白为什么这是必要的。有谁能想到<
浏览 11
修改于2014-04-18
得票数 1
回答已采纳
1
回答
NSNotificationCenter
addObserver
没有响应
这是我使用的代码:
addObserver
:self nameUIApplicationWillResignActiveNotification
addObserver
UIApplicationDidEnterBackgroundNotification obje
浏览 3
提问于2011-11-23
得票数 1
回答已采纳
2
回答
AddObserver
叉道::未响应
-(void)viewdidload{ [self
addObserver
:self forKeyPath
浏览 5
修改于2015-04-11
得票数 0
回答已采纳
3
回答
Swift 4-通知中心
addObserver
发行
这是我的代码--在viewDidLoad中notificationCenter.
addObserver
浏览 6
提问于2017-10-11
得票数 14
回答已采纳
1
回答
子类中的NSNotificationCenter
addObserver
viewWillAppear:(BOOL)animated { [[NSNotificationCenter defaultCenter]
addObserver
浏览 3
提问于2012-12-19
得票数 4
回答已采纳
4
回答
Swift中的NSNotificationCenter
addObserver
[[NSNotificationCenter defaultCenter]
addObserver
:self selector:@selector(batteryLevelChanged:) name:
浏览 241
修改于2017-04-10
得票数 426
回答已采纳
1
回答
如何使用
addObserver
激活通知
notificationCenter = NotificationCenter.default if #available(iOS 13.0, *) { } else { notificationCenter.
addObserver
浏览 8
修改于2020-08-26
得票数 0
回答已采纳
2
回答
AddObserver
on UILabel不工作
Font = UIFont.PreferredTitle1; Lines = 999; this.
AddObserver
浏览 6
提问于2017-08-15
得票数 1
回答已采纳
2
回答
NSNotification
addObserver
in ViewControllers Swift
notification - if there is segue to the SecondTableVC NSNotificationCenter.defaultCenter().
addObserver
浏览 3
修改于2016-05-20
得票数 1
回答已采纳
1
回答
关于自我的
addObserver
didFinishLaunchingWithOptions:(NSDictionary*)launchOptions { [self
addObserver
浏览 3
修改于2015-06-18
得票数 4
回答已采纳
1
回答
iOS - NotificationCenter
addObserver
"UIMenuControllerWillHideMenu“
下面是我尝试过的代码(Swift 3.x): NotificationCenter.default.
addObserver
浏览 13
提问于2017-09-07
得票数 0
回答已采纳
0
回答
iOS中的
addObserver
位置
问题是在tab3中的哪里调用
addObserver
,因为tab3从来没有打开过?
浏览 1
修改于2016-07-07
得票数 0
回答已采纳
1
回答
Ember手册
addObserver
是否需要removeObserver
Ember.View.extend({ { self.
addObserver
浏览 0
提问于2013-02-20
得票数 2
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券