-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
if let token = sb.unarchive(objectForKey: "token") as? String {
.. if correct token segue to logged in screen
} else{
segue to non-logged in screen
}
I have a issue while using strongbox when launching my app for the first time. When there is no token found, I cannot segue to another screen. The problem is not that the segue is not initiated (I even override the prepare(for segue ..) function and code inside this is even executed. The next viewcontroller however is never displayed.
This problem is solved when I manually add a valid token, or when I add a random string (E.G. " " ) to the archive.
How can I resolve this issue?
Metadata
Metadata
Assignees
Labels
No labels