开发者

iPhone managedobject delete crashing

I try to delete some managedobjects by calling in a for loop

[man开发者_如何学编程agedObject delete]; 

and at of the loop, I call

[managedObjectContext save:nil];

At the above line, the app crashes and goes nowhere from there. Any ideas?

Thanks


Run in the debugger and make sure you are breaking on objc_exception_throw. If you can't catch the break point or produce a crash log you are not going to find much help here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜