I have set
[self.progressView addObserver:self forKeyPath:@"progress" options:NSKeyValueObservingOptionNew context:nil];
if I use self.progressView.progress = 0.1;
to change progress, it's ok.
but if I use [self.progressView setProgress:0.1 animated:YES];
, the method -observeValueForKeyPath:ofObject:change:context:
can't be trigged.
what can I do now? now I can't change [self.progressView setProgress:0.1 animated:YES];
because this code in another lib.