阅读背景:

viewForSupplementaryElementOfKind未在自定义UICollectionViewLayout上调用

来源:互联网 

I created a custom UICollectionViewLayout and I've put it in my Collection View Controller in the storyboard. I didn't get that much problems on displaying the items/cells. My problem is that the viewForSupplementaryElementOfKind is not being called. I can't to seem to pinpoint on why is that. I tried to go back to the default layout and it does call it then but I need my custom UICollectionViewLayout. I've left NSLogs to check and viewForSupplementaryElementOfKind is not being called.I created a custom UICollectionViewLayout and I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: