parse’s [PFUser currentUser] returns null on IOS

the problem is like that:
i want to make a check if [PFUser currentUser]!=nil and skip the login/signup screens but it always returns nil when i do that check when the app starts. as parse docs say every time a user logs or signs in the system saves the current user in a cache and it suppose to be !=nil until the user logs out.

i already made a few project with parse’s user system and its the first time it happened.

i tried running the app so many time hopping its just a bug…:
if you guys need some code ill add…

any ideas what may cause that? thanks

Source: ios

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.