NotificationCenter.default.removeObserver(self) in deinit, why deinit it even get called?

前端 未结 0 1368
庸人自扰
庸人自扰 2021-02-12 15:46

Starting with ios 9 it is not necessary to unsubscribe from notification center since ios handles this automatically, but prior to ios 9 developers had to manually call No

相关标签:
回答
  • 消灭零回复
提交回复
热议问题