ios - 我可以在 EventKit 中添加/订阅日历吗?
<p><p>是否可以使用 iPhone 的 EventKit 添加或订阅全新的日历?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>是的,但仅适用于 iOS5 及更高版本</p>
<p> <a href="http://developer.apple.com/library/ios/#documentation/EventKit/Reference/EKEventStoreClassRef/Reference/Reference.html" rel="noreferrer noopener nofollow">http://developer.apple.com/library/ios/#documentation/EventKit/Reference/EKEventStoreClassRef/Reference/Reference.html</a> </p>
<pre><code>- (BOOL)saveCalendar:(EKCalendar *)calendar commit:(BOOL)commit error:(NSError **)error
</code></pre>
<p>这将保存您对日历所做的更改或将新日历添加到数据库中。</p>
<p>可在此处找到添加新日历的详分割步说明
<a href="https://stackoverflow.com/questions/8260752/how-do-i-create-a-new-ekcalendar-on-ios-device" rel="noreferrer noopener nofollow">how do I create a new EKCalendar on iOS device?</a> </p></p>
<p style="font-size: 20px;">关于ios - 我可以在 EventKit 中添加/订阅日历吗?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/8349298/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/8349298/
</a>
</p>
页:
[1]