inamiy / YIFullScreenScroll

Pinterest-like scroll-to-fullscreen UI for iOS5+.
http://www.cocoacontrols.com/controls/yifullscreenscroll
214 stars 27 forks source link

viewDidAppear is not called #25

Closed alper closed 10 years ago

alper commented 10 years ago

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.

inamiy commented 10 years ago

-viewDidAppear: seems to work fine in current demo project. Can you add the code and reproduce the same bug?

alper commented 10 years ago

It turns out my class was not calling viewDidAppear. Thanks!