4

My app depends on applicationProtectedDataDidBecomeAvailable being called but i've noticed that if I lock my device and wait for around 3 minutes and unlock it then applicationProtectedDataDidBecomeAvailable doesn't get called. Also when does applicationProtectedDataDidBecomeAvailable get called as opposed to applicationWillEnterForeground because I've noticed that when it does get called sometimes the order of these calls are random

Thanks guys

MGY
  • 7,245
  • 5
  • 41
  • 74
TNguyen
  • 1,041
  • 9
  • 24
  • Hi, if it's not get called maybe data still available? Probably there is no randomness but different scenarios and reasons behind call orders of this methods. Could even changes in iOS versions. Can you try to log to in console to see behaviours and share some code please? – MGY Aug 16 '17 at 05:05
  • luckily there is no code, there is just a print statement inside of `applicationProtectedDataDidBecomeAvailable` and inside `applicationProtectedDataWillBecomeUnavailable`. – TNguyen Aug 16 '17 at 05:09

0 Answers0