标签:KVO

UIView animation 里面的center值变化了,但是KVO监听不到?

UIView animation 里面的center值变化了,但是KVO监听不到?

#import "ViewController.h" @interface ViewController (){     UIImageView *iv; } @end @implementation ViewController - (void)viewDidLoad {     [super viewDidLoad];          iv = [……

AVPlayer, KVO释放报错AVPlayerItem was deallocated

AVPlayer, KVO释放报错AVPlayerItem was deallocated

  AVPlayer开发,KVO该释放的都释放了。在无网络状态下,连续开启几次播放器就会出现错误: AVPlayerItem was deallocated while key value observers were still registered with it dealloc如下:        [player removeObserver……