iOS app EKalarm proximity not works || Location based EKAlarm not worrks for an event

 Solution:


In event creation and handling if you are needed time based alarms then create an event and add EKAlarm with that event with recurrence rule also.


If you are going with location based alarms then must use EKReminder in EKEvent.First create an EKReminder then create one CLLocation after that add the location to that reminder with three options.

    1.while arriving

    2.While leaving

    3.None


Before add the reminder must have to check that event with type not .event it's .Reminder

After that open the reminder pp and check it was added or not.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift