简体   繁体   English

我如何在我的APP [iOS]中吸收应用日历

[英]How can i imbibe the app calendar on my APP [iOS]

I have an iOS app which loads the APP Calendar from an iPad/iPhone. 我有一个iOS应用程序,可从iPad / iPhone加载APP日历。 I use the scheme url: 我使用方案网址:

NSURL *url = [NSURL URLWithString:@"calshow://"];
[[UIApplication sharedApplication] openURL:url];

I want show the calendar in a part of my view because I want to keep using my application, but when I push the calendar, it takes all the screen. 我想在视图的一部分中显示日历,因为我想继续使用我的应用程序,但是当我按下日历时,它将占据所有屏幕。

Can someone say me how to imbibe the calendar? 有人可以说我如何吸收日历吗?

I took this way cause I need load a Gmail calendar on my app, then I want to use Eventkit to add or delete some events. 我采取这种方式是因为我需要在应用程序上加载Gmail日历,然后才想使用Eventkit添加或删除一些事件。

With Eventkit you can not create a calendar right? 使用Eventkit您无法创建日历吗?

Thanks in advice. 感谢您的建议。

It is not possible to embed the default calendar view in your app. 无法在您的应用中嵌入默认日历视图。 However, you could use a third party library replicating the calendar application . 但是,您可以使用复制日历应用程序的第三方库

Regarding your "create calendar" question: this is possible. 关于您的“创建日历”问题:这是可能的。 Here is an example of how to do it. 这是一个如何做的例子

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以从日历中启动iOS应用吗? - Can I launch an iOS app from the calendar? 如何制作类似于iOS日历应用程序的网格? - How can I make a grid like the iOS calendar app? 是否可以使用来自应用程序的预填充数据打开IOS日历应用程序的添加事件到日历屏幕? - Can I open the the add event to calendar screen of the IOS calendar app with pre-filled data from my app? KAL日历,如何实现KalDataSource,以便我可以显示iOS内置日历应用程序中的事件? - KAL Calendar, how to implement KalDataSource so as I can show events which are in iOS in-built Calendar app? 如何为我的iOS日历应用程序支持iOS时区替代? - How to support iOS Timezone override for my iOS calendar app? 如何与我的主应用程序和 iOS 应用程序的应用程序扩展正确共享 Amplify 框架? - How can I properly share the Amplify framework with my Main App and my App Extension for an iOS app? 如何在Xcode 9的iOS设备上运行我的App? - How I can run my App on my iOS device in Xcode 9 ? 如何使我的iOS应用程序向后兼容? - How can I make my iOS app backward compatible? 如何让Alexa在我的iOS应用程序上工作? - How can I get Alexa working on my iOS app? 如何检查我的iOS应用是否与代理检查一起使用? - How I can check my iOS app is working with proxy checks or not?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM