I tried implementing this, but the viewDidAppear is not called in my code (viewWillAppear is called however).
This causes the
self.isViewVisible = YES;
not to go through and makes the rest of the code not work. The KVO callback for contentOffset returns without doing anything if isViewVisible is false.
Am I doing anything wrong? I'm stumped by the fact that it would call viewWillAppear and not viewDidAppear.
I tried implementing this, but the viewDidAppear is not called in my code (viewWillAppear is called however).
This causes the
not to go through and makes the rest of the code not work. The KVO callback for contentOffset returns without doing anything if isViewVisible is false.
Am I doing anything wrong? I'm stumped by the fact that it would call viewWillAppear and not viewDidAppear.