首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用XLPagerTabStrip有问题

使用XLPagerTabStrip有问题
EN

Stack Overflow用户
提问于 2016-05-21 13:31:43
回答 1查看 1K关注 0票数 0

我在XLPagerTabStrip使用做了所有的事情

但有些地方出了问题:

代码语言:javascript
复制
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.

我找不到任何解决办法。有人知道这个吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-05-23 09:29:09

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

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37363614

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档