bryankeller / BLKFlexibleHeightBar

Create condensing header bars like those seen in the Facebook, Square Cash, and Safari iOS apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ScrollView setContentOffset not working after setup BLKFlexibleHeightBar.

siralexmu opened this issue · comments

Hi all,
I have created a view pager with a ScrollView embedded in a BLKFlexibleHeightBar like ones on Android. The scrollview contains many tabs. The custom bar work great: pages with root view are tableview(s) or scrollview(s) scroll and the bar go up and down as expected. But I have a small problem: I can't update the scrollview contentOffset after the bar setup completely. If I set the scrollview contentOffset before initialising the bar, it show with an offset on the bar. Can anyone tell me what ways to do this task? Thanks and sorry for my bad English.

I solved it by tweaking the scrollview center.