Iphone Core Data crashing on Save

前端 未结 7 724
执念已碎
执念已碎 2020-12-03 06:01

I\'m currently writing an Iphone application using Core Data and I get a EXC_BAD_ACCESS error during the [managedObjectContext save:&&error] code line.

7条回答
  •  [愿得一人]
    2020-12-03 06:22

    Just to help others having the same issue, and reinforcing Steff's response above, the likely cause of this error is that you are trying to release a NSManagedObject.

提交回复
热议问题