Setting the URL field of an EKEvent
Title sums it up. URL
isn't an EKEvent
property but figured maybe there's some h开发者_StackOverflow社区idden way of setting it, especially considering it's printed when you log an EKEvent
object.
I'm guessing you're on iOS 5 Beta? EKEvents
shouldn't have a URL property pre-5.0
Take a look at EKCalendarItem
on the 5.0 SDK. EKEvent
is being phased out, and it's superclass changed from NSObject
to EKCalendarItem
.
EKCalendarItem has the @property(nonatomic, copy) NSURL *URL
精彩评论