I need to add a calendar event to the user's Calendar when they click a button.
This works in the simulator, but when I attempt to deploy to开发者_如何学Python my 3GS running iOS 4.01, XCODE throws 1000+ errors!
Any ideas?
Thanks! Jason
I think that I solved this.
In Project > Edit Project Settings under the Architecture, I had the Base SDK set to iPhone 3.2. When I changed it to iPhone 4.0, it compiled and deployed to my iPhone 3GS running iOS 4.
I think that this is due to Event Kit being something that was added in iOS 4 and not available in earlier versions.
I was planning to target earlier devices. So, I guess it's back to the drawing board to come up with a solution to adding a reminder/event to the user's calendar.
Jason
精彩评论