1

In my Iphone Application, I want to check the built in Calendar App for upcoming Events.

The aim would be to for example mute the app, when the user is supposed to be in a meeting.

I couldn't find anything on that matter though, as search results only present a way to implement your own calendar

So is it possible to get this acces ( and is there maybe a short example or link that i couldnt find) ?

Charan
  • 4,940
  • 3
  • 26
  • 43

1 Answers1

4

No, you cant mute the iPhone

As the physical hardware switch is available, there's no software method for muting the entire device.

You don't need to fight with the framework, until he/she wants to mute it.

and if you want to check the upcoming events, you need to go through the Event store and EKCalendar.

and i guess you cant access the users events in your app with out his permission as this answer says

and there is a Simple EK Demo from apple, which may help you..

Cheers...

Community
  • 1
  • 1
Charan
  • 4,940
  • 3
  • 26
  • 43
  • yes this helps a lot thx I didn't want to mute the whole phone, but for example automaticaly deactivate sounds of a game during a meeting. – user1625744 Aug 26 '12 at 12:21