Yuwen Yan
Yuwen Yan

Reputation: 4935

How to resolve one to many relationship in core data in iOS 4.0

I'm now developing an app on iPhone OS with core data, but when I add core data code into app, Xcode throw an error that "to-many relationship entity.relationship option requires iOS 5.0 or later"

How to deal with this problem? or is there another way to replace core data with low cost.

Some info: Base SDK :iOS 5.0 Deployment Target : iOS 4.0

Thanks

Upvotes: 4

Views: 578

Answers (1)

Jim
Jim

Reputation: 73966

It's not complaining about the relationship, it's complaining about an option you've set for the relationship. Most likely, this is because you have selected the Ordered option for the relationship, which is only supported in iOS 5 and above.

Upvotes: 8

Related Questions