Oh man. I seriously love you. I've been trying to find a fix for this for about two years now.
My app sometimes launches from the background after the user enters or leaves a region. It looks for a session token (not a password) in the Keychain and would return nil and log the user out. I'm not sure how I never came across kSecAttrAccessibleAlwaysThisDeviceOnly in all my hours trying to find a solution.
By the way, this isn't specific to iOS 7. I've had the same issue since iOS 5.
My app sometimes launches from the background after the user enters or leaves a region. It looks for a session token (not a password) in the Keychain and would return nil and log the user out. I'm not sure how I never came across kSecAttrAccessibleAlwaysThisDeviceOnly in all my hours trying to find a solution.
By the way, this isn't specific to iOS 7. I've had the same issue since iOS 5.