I am trying to establish the availability of an event that I am importing into the iphone calendar with my application. I am using this code:
[event1 setAvailability:EKEventAvailabilityFree]
When I sync my iphone with iCal, I check for an event and it says “Busy”. Xcode asks for an integer, but not for the free option. I am not getting errors when I run this code, maybe someone can help figure out what happened.
source
share