EKEvent Exit Time Warning

When a user installs an EKEvent with location information - iOS sets an event alert as "Time To Leave". The user can delete this warning by setting it to "No".

I could not find a way to install programmatically if the "Time to exit" warning was set. Tried valueForKey ("timeToLeave") - the key does not exist. Also, what puzzles if "Time To Leave" is the only warning - the alarm array for such an event is zero.

Any ideas on how to find if the "Time to Exit" warning is activated?

+4
source share

All Articles