Что-то не так с использованием XLPagerTabStrip

Я сделал все в разделе Использование XLPagerTabStrip.

Но что-то не так :(

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.

Я не могу найти никакого решения. Кто-нибудь знает это?


person nullmari    schedule 21.05.2016    source источник


Ответы (1)


https://github.com/xmartlabs/XLPagerTabStrip/issues/162 это точно так же проблема, и я решил свою проблему так же, как эта ссылка.

person nullmari    schedule 23.05.2016