开发者

Setting the URL field of an EKEvent

开发者 https://www.devze.com 2023-03-25 11:10 出处:网络
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

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

精彩评论

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