Closed alper closed 10 years ago
Same for here. Can you reproduce the bug in demo project?
In the demo project this looks to be going fine, but for me it's like this:
I don't understand which setting could affect this.
In your case, I guess you are using YIFullScreenScrollStyleFacebook
but trying to add UIButtons directly onto UINavigationBar instead of using UIBarButtonItems.
As you can see button's fadeout code here, they will only fade if they are normal UIBarButtonItems.
If I'm wrong, can you please attach your UIBarButtonItem's code?
I don't have any code for it, they are just UIBarButtonItems:
Hm, I see...
But current demo project (+ adding UIBarButtonItem in storyboard) still works fine, so there should be some other reason in your code that breaks default fading behavior.
Adding breakpoint around the fading code and test run will be helpful to you.
It would seem that obj.customView are nil. Are these supposed to be set somewhere?
I finally found the issue and you were right! I fixed it in 2f4dc14 , so please try :)
Hey, I am facing this issue again. I am using a segmented control in the Navigation Bar. Can you please tell me how can I fix this?
When the code does work (I hardcoded some values to fix my previous issue) it does not really take into account the statusbar. The navbar does scroll out of view but because it is not aware of my status bar it does not scroll back entirely.
It only scrolls back the height of the navbar minus the height of the statusbar.