I am trying to fetch my default calendar view of iPhone in my viewcontroller .
Does it Possible ?
Tab on button and open will worked([[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"calshow://"]];
) and some Third party will also worked !!!!!!
Your question can be understood one of three ways:
If you're looking to access the events that your iPhone's calendar contains, you can use Apple's EventKit framework.
If you're looking to open the calendar app from your app, there's a URL scheme called calshow:// which can do that. Based on my quick search, I'm unsure if Apple actually allows this.
If you're looking to display your own calendar UI in your app, there's a bunch of libraries out there.
Disclosure: I wrote MBCalendarKit.
You can find it on Cocoapods on this link or you can get it on Github at this link. This little library is unlike the others in that its configurability is up to the developer. You can check out some of the calendars that its users have developed for it here. And you can see its setup tutorial here. Video tutorials here. It also as a demo that you can download right from GitHub. Btw, If you have never heard of cocoapods, then invest 10 mins of your time to learn about it. It is the easiest way to integrate 3rd party libraries to your iOS projects.
Other top calendars I have compared it with:
CalendarView
FSCalendar
MBCalendarKit
PTDSimpleCalendar
GCCalendar
CVCalendar
GLCalendarView
Related
I have an mobile web app targeting IOS that does two potential things:
If the user does NOT have the google calendar app installed: We open a link to add an event to the web version of google calendar.
https://calendar.google.com/calendar/u/0/r/eventedit?text=event+title&dates=20210718T080010/20210718T083010&ctz=America/Mexico_City&details=book+details&recur=RRULE%3AFREQ%3DWEEKLY%3BCOUNT%3D11%3BBYDAY%3DSU%2CMO%2CTU%2CWE%2CTH%2CFR%2CSA%3B
And if the user DOES have the google calendar app installed, we open a DEEP LINK to add the event directly to their google calendar app.
E.G
com.google.calendar://?action=create&text=event+title&dates=20210718T080010/20210718T083010&ctz=America/Mexico_City&details=book+details&recur=RRULE%3AFREQ%3DWEEKLY%3BCOUNT%3D11%3BBYDAY%3DSU%2CMO%2CTU%2CWE%2CTH%2CFR%2CSA%3B
And testing on Safari, that all works EXCEPT - the recurrence rule doesn't seem to work for the deep link! The recurring section is just empty.
(The recurrence rule is this part recur=RRULE%3AFREQ%3DWEEKLY%3BCOUNT%3D11%3BBYDAY%3DSU%2CMO%2CTU%2CWE%2CTH%2CFR%2CSA%3B)
Am I doing something wrong?
...Further Notes if you're curious:
1: The recurrence rules are a little hard to read because they are all websafe, but they look like this
RRULE:FREQ=DAILY;INTERVAL=5;UNTIL=20210701T160000Zs
2: I would just work around this problem by opening the web link in all situations, BUT if the google calendar app is installed it intercepts the web links, and then just takes you to the main calendar and does nothing ðŸ˜
3: You should be able to open the above links on your ios device and see the behavior that I'm talking about
On further research, it appears that the Google Calendar app simply does NOT support recurrence rules on deep linking :(
I was about to follow instructions on this page https://developers.google.com/places/ios-sdk/placepicker related to place picker then I saw the deprecate notice.
Are instructions in that page is up to date ? Does that use the new SDK ?
I mean, all instructions seem to target existing users of the APIs. But what about new users who want to implement such feature ?
I was assuming that if the code is not valid (since 2 days), it wouldn't be published anymore.
THanks
its strange, because i have implemented it in android application on store 7 months ago.and places picker still working normally.
At the moment I am creating an iOS app with Swift.
In the app I want among others one of my shared iCloud calendars to be displayed.
It would be best if this iOS calendar is just displayed within the app.
An important feature is that if I add an event in my shared calendar it should of course also be added to the app.
An amazing but optional feature would be:
My AppleID of course can edit the calendar. If the app would recognise that I am using a device with an AppleID that is allowed to edit the calendar so that I would be able to edit the calendar.
To sum it up: it would be best if in my app the iOS calendar is just embedded.
Thank you for your help
I think this is what you looking for https://developer.apple.com/documentation/eventkit
EventKit is the way to read from the calendar.
After that, you can choose how to display the events that you get. The easiest way for me was in a UITableView.
In android apps, it's very easy to show a tooltip (they call that a Toast). But I can't find an easy way to do the same in iOS apps.
I saw several things about this question, but my goal is to publish my app on the app store, so I want to use a proper way to do these tooltips...
Then, is there any way to do a tooltip according to Apple philosophy ?
There is no Android Toast equivalent built in. Many people use MBProgressHUD.
I have always run with the assumption that Google delegates can be viewed by iCal and the calendar.app, but are not visible to us developers through the calendar framework, or EventKit.
Has this changed?
I have the problem too. Calendars show up twice. Deselect the delegates. A little later everything disappears.
Apparently its a problem on google's side. They claim to be "working on it" Check discussion
I found the google thread on another apple forum page devoted to the same problem:Here