dineshprasanna
dineshprasanna

Reputation: 1284

UICollectionView Error in converting ios 6 to ios 7

Here I have developed the app in IOS6, when I open the App in IOS 7 with Xcode 5 In Collectionview errors are throwing

file://localhost/Users/asaraa/Documents/IOS/Projects/Asaraa/Embassy/UI-Changed/Washington/IOS7/20130918/Mphasis/RootviewController.xib: 
    error: Class Unavailable: UICollectionView on iOS versions prior to 6.0

How can i resolve this error, Could any body help me please

Upvotes: 2

Views: 2018

Answers (2)

Danyal Aytekin
Danyal Aytekin

Reputation: 4215

UICollectionView didn't exist before iOS 6. You could try the open source PSTCollectionView , which supports iOS 5 and aims to be a drop-in replacement.

Upvotes: 0

Michael Dautermann
Michael Dautermann

Reputation: 89509

It looks to me from this description of your error:

UICollectionView on iOS versions prior to 6.0 

That you're trying to build an app that has the deployment target (the oldest OS version) set to something older than iOS 6. UICollectionView only works on devices running iOS 6 & newer OS'es. Do you have your project settings set to run this app with iOS 5 or 4?

And if you change it to iOS 6, do you get better results?

Upvotes: 2

Related Questions