leblanc-zx
leblanc-zx
加载更多功能,使用MJRefreshBackNormalFooter,endRefreshing后,界面依然会展示MJ的footer,无法隐藏; demo中也是有这样的问题。
这两个问题,我解决了,作者可以看看是否有必要更新。 问题1:hbd_barHidden隐藏导航栏问题,在当前页面加载出来之后,来回切换hbd_barHidden的值后,导航栏样式与原有的预期不符,修改方案如下 增加三个临时变量,并修改setHbd_barHidden方法 @interface UIViewController (HBD) @property (nonatomic, strong) NSArray *hbd_leftBarButtonItems; @property (nonatomic, strong) UIView *hbd_titleView; @property (nonatomic, strong) NSArray *hbd_rightBarButtonItems; @end @implementation UIViewController (HBD) - (void)setHbd_barHidden:(BOOL)hidden { if (hidden)...
UICollectionView 设置sectionHeadersPinToVisibleBounds=true(悬浮header)时,加载更多会导致header闪烁或隐藏,只有手势滑动后header才会再出现。