NSNotification not being sent when postNotificationName: called

后端 未结 7 879
生来不讨喜
生来不讨喜 2020-12-29 08:17

I\'m trying to get one instance of using NSNotificationCenter with addObserver and postNotificationName but I can\'t work out why it w

7条回答
  •  醉话见心
    2020-12-29 08:45

    I successfully fixed my "NSNotification not being sent when postNotificationName: called" crash.

    I found the real bug is in notification message handler.

    The postNotificationName and addObserver are all right as the first post of this thread.

提交回复
热议问题