문제

I have an iOS app which loads the APP Calendar from an iPad/iPhone. 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.

With Eventkit you can not create a calendar right?

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 ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top