iOS resetting granting access to reminders

前端 未结 3 1962
情书的邮戳
情书的邮戳 2020-12-12 06:52

I have a silly problem, one of you surely already encountered.

I am working on adding reminder/alarm in my app and I am using : eventStoreAccessGranted.

It a

相关标签:
3条回答
  • 2020-12-12 07:14

    I ran into the same issue. Try testing in the Simulator and reset location & privacy each time. It worked for me when I was testing for EKAuthorizationStatus.NotDetermined. I don't enjoy the simulator but it got the job done.

    0 讨论(0)
  • 2020-12-12 07:19

    Just a little hack: If you want to see the Access Alert for different accesses (fotos, reminders, push and so on) during development, you can use this hack:

    1. make sure your Code Signing Identity has a star (*) in the end, like this:
    2. Change your bundle Identifier significantly: Example: your bundle identifier is: de.kurtsalman.myAppName --> change it to --> de.kurtsalman.myAppName2345 (or any other)

    on every change (you have to change it anytime you want to see the alert view again) just start simulating on device (cmd+R) - Now you will get everytime an alert.

    If its to stupid for you, to change always the bundle-ID for testing, you can create a script in your build phases, to rewrite the bundle identifier for anytime you Run your App on your test device.

    0 讨论(0)
  • 2020-12-12 07:19

    Have you tried

    Settings --> General--> Reset--> Reset Location&Privacy

    0 讨论(0)
提交回复
热议问题