UICollectionView reloadData not functioning properly in iOS 7

后端 未结 17 1440
北荒
北荒 2020-11-27 11:18

I\'ve been updating my apps to run on iOS 7 which is going smoothly for the most part. I have noticed in more than one app that the reloadData method of a

17条回答
  •  悲哀的现实
    2020-11-27 11:58

    I also had this problem. By coincidence I added a button on top of the collectionview in order to force reloading for testing - and all of a sudden the methods started getting called.

    Also just adding something as simple as

    UIView *aView = [UIView new];
    [collectionView addSubView:aView];
    

    would cause the methods to be called

    Also I played around with the frame size - and voila the methods were getting called.

    There are a lot of bugs with iOS7 UICollectionView.

提交回复
热议问题