开发者

Iphone unregistering nsnotifications on application will terminate why?

I have always wondered why is it necessary to unregister your nsnotifications in the application will terminate method. I know that nothing that I can notice happens if I don't, so what are the implications of not doi开发者_Go百科ng so?. Any help will be greatly appreciated.

Thank you.

-Oscar


There aren't really any. Everything is torn down on termination, including all your registered notification listeners.


You wouldn't want to receive another notification and start processing it after you've already started to shut things down in applicationWillTerminate.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜