You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello there,
at the first time i use KTCenterFlowLayout, it works fine, really good job. But since (I dont remember when, but i thougt it was since i update xcode, currently im on xcode 7.3.1), my collectionview cannot call - (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath, so the header or footer will not gonna shown.
Everything goes as fine when i using UICollectionViewFlowLayout.
i tried to use UICollectionViewFlowLayouton viewdidload adn then use KTCenterFlowLayout on viewdidappear. what happen is the header/footer shown for a blink, before back to no header.
did I miss something here?
The text was updated successfully, but these errors were encountered:
Thanks @rk-ekalaya, @Rodolfocartas. Appreciate the feedback. All it needed was some calls to super.layoutAttributesForSupplementaryViewOfKind for header and footer kinds. Lemme know if 1.3 works for you.
hello there,
at the first time i use
KTCenterFlowLayout
, it works fine, really good job. But since (I dont remember when, but i thougt it was since i update xcode, currently im on xcode 7.3.1), my collectionview cannot call- (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath
, so the header or footer will not gonna shown.Everything goes as fine when i using
UICollectionViewFlowLayout
.i tried to use
UICollectionViewFlowLayout
on viewdidload adn then useKTCenterFlowLayout
on viewdidappear. what happen is the header/footer shown for a blink, before back to no header.did I miss something here?
The text was updated successfully, but these errors were encountered: