由于特殊原因,需要在一个重复动作之后对同一个键使用addObserver绑定监听,这样做会不会有什么问题?
学习是最好的投资!
No problem, you will receive addObserver messages as many times as you call observeValueForKeyPath.
addObserver
observeValueForKeyPath
No problem, you will receive
addObserver
messages as many times as you callobserveValueForKeyPath
.