|
@@ -360,7 +360,7 @@ static CGFloat textFieldH = 56;
|
|
|
UIColor * color = [UIColor whiteColor];
|
|
|
CGFloat offsetY = scrollView.contentOffset.y;
|
|
|
CGFloat alpha = 1.0;
|
|
|
- if (offsetY >= 100) {
|
|
|
+ if (offsetY >= 2) {
|
|
|
alpha = MIN(1, 1 - ((2 + kNavBarHeight - offsetY) / kNavBarHeight));
|
|
|
self.navigationBar.backgroundColor = [color colorWithAlphaComponent:alpha];
|
|
|
self.navigationBar.rightBarButtonItemView.itemImageView.image = ImageName(@"icon_pyq_more_back");
|