开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜