nib must contain exactly one top level object which must be a UICollectionReusableView instance'

控制台出现

nib must contain exactly one top level object which must be a UICollectionReusableView instance'

的时候,查看下此文件的xib中是不是有控件脱到视图之外了

你可能感兴趣的:(nib must contain exactly one top level object which must be a UICollectionReusableView instance')