UICKeyChainStore: Returns nil when just appeared from background

This code sometimes returns nil when my app is just appeared from background:

[UICKeyChainStore dataForKey:self.privateKeyTag]

When I restart app - it returns non-nil value.

About this issue

  • Original URL
  • State: open
  • Created 10 years ago
  • Comments: 35

Most upvoted comments

4 years later and this issue is still occurring for me, exclusively when the app is woken up in the background due to a significant location change.