You can check this permission by two types -
- In Simulator
you can do Simulator/Reset Content and Settings.
- In Physical device (iPhone, iPad)
You can change date, at least difference should be 24 hours.
but first uninstall app from device then restart then apply this thing then it will work.