【问题标题】:There's something wrong with using XLPagerTabStrip使用 XLPagerTabStrip 有问题
【发布时间】:2016-05-21 13:31:43
【问题描述】:

我在XLPagerTabStrip Usage做了所有事情

但是有问题:(

2016-05-21 20:36:53.108 [13794:5338746] the behavior of the 
UICollectionViewFlowLayout is not defined because:
2016-05-21 20:36:53.109 [13794:5338746] the item height must 
be less than the height of the UICollectionView minus the 
section insets top and bottom values, minus the content insets 
top and bottom values.
2016-05-21 20:36:53.109 [13794:5338746] Please check the values 
return by the delegate.
2016-05-21 20:36:53.110 [13794:5338746] The relevant 
UICollectionViewFlowLayout instance is <UICollectionViewFlowLayout: 0x137c836e0>, 
and it is attached to <XLPagerTabStrip.ButtonBarView: 0x13715ec00; 
baseClass = UICollectionView; frame = (0 66; 375 45); 
clipsToBounds = YES; autoresize = RM+BM; 
gestureRecognizers = <NSArray: 0x137c82f30>; 
layer = <CALayer: 0x137c64ff0>; contentOffset: {0, 0}; 
contentSize: {239.5, 128}> collection view layout: 
<UICollectionViewFlowLayout: 0x137c836e0>.
2016-05-21 20:36:53.110 [13794:5338746] Make a symbolic breakpoint 
at UICollectionViewFlowLayoutBreakForInvalidSizes to catch 
this in the debugger.

我找不到任何解决方案。 有人知道吗?

【问题讨论】:

    标签: swift xlpagertabstrip


    【解决方案1】:

    https://github.com/xmartlabs/XLPagerTabStrip/issues/162 这是完全相同的问题,我就像那个链接一样解决了我的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-01-28
      • 1970-01-01
      • 2019-05-21
      • 2018-08-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多