简体   繁体   中英

UICollectionView on iOS versions prior to 6.0

I'm trying to build my project in new XCode 5.0 (Version 5.0 (5A11314m))

My project includes xib with UICollectionView. The target of the project is iOS 4.3, but that xib will be displayed only in >=6.0.

During build i receive errors:

/* com.apple.ibtool.document.errors */
/Users/povolotskayalyubov/Documents/work/PF/Classes/SocialNetwork/FBPhotoThumbnailViewController.xib:9: error: UICollectionView on iOS versions prior to 6.0/Users/povolotskayalyubov/Documents/work/PF/Classes/SocialNetwork/FBPhotoThumbnailViewController.xib:17: error: UICollectionViewLayout on iOS versions prior to 6.0

How can i disable these checks to build project ?

在XIB文件的文件检查器中,您可以覆盖目标操作系统设置以跟踪特定值而不是构建设置。

Yes, you can.

In the build settings, you can set "Show errors" to NO in "Interface Builder XIB Compiler" section.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM