Yuvaraj.M
Yuvaraj.M

Reputation: 9801

How many events can we add to iCal from iphone App?

I have one critical problem in my iphone app. From this iphone app user can add their events to iPhone iCal app. Now, the problem is the events i can not add many more events (Continuously 170 events at a time by For loop)to ical. If i do this only 150 events can add to ical and i got the EventID(Unique Event identifier), after balance events can't add in iCAl and the EventID return 'Null'. Can anyone please help to solve this problem? There is any limitation to add events to iCal app from iphone app? Thanks in advance. Thanks for spending your valuable time with me.

Upvotes: 1

Views: 504

Answers (1)

Ryan
Ryan

Reputation: 518

I have never seen a hard limit on the amount we can add. I can say that I have added 500+ without problems. I have noticed that sometimes the Calendar App on the phone freezes and stops responding after I have interacted with it, but I think that is data related. I have also noticed that the iPhone Calendar app behaves a bit different deepening on the calendar you are adding events to. For example, whether it is a google calendar or the "On my iPhone" calendar. It sounds like you are having a different problem though.

I would suggest looking at the (NSError **)error object after saving the events to see what the exact error is, and then asking a new question related to the error you are receiving.

Hope that helps.

Upvotes: 1

Related Questions