摘要:
参考:https://stackoverflow.com/questions/28737772 如果UICollectionViewCell或者UITableViewCell里面有UIActivityIndicatorView,重用机制下的cell里UIActivityIndicatorView的转 阅读全文
随笔档案-2021年01月
UICollectionView registerClass
2021-01-07 13:41 by 法子, 387 阅读, 收藏, 编辑
摘要:
UICollectionView的方法registerClass,如果调用会使注册的cell类在xib或storyboard里的相关内容失效。比如你在storyboard里为这个cell类加了一个button,那么实际上不会显示。 // If a class is registered, it wi 阅读全文