swift - Parse.com PFuser.currentuser always logged in with iPhone 6 plus -



swift - Parse.com PFuser.currentuser always logged in with iPhone 6 plus -

if run next on iphone 6 plus simulator currentuser never nil

pfuser.logout() var currentuser = pfuser.currentuser() // nil

if run on iphone iphone 5 or iphone 6 works expected .

i'm using xcode 6 , swift.

is known issue on parse sdk or don thing wrong. if known issues implies parse sdk unusable , insecure on iphone 6 plus

it own mistake....

i wrote :

pfuser.logout() var currentuser = pfuser.currentuser() if currentuser != nil {}

it should :

pfuser.logout() var currentuser = pfuser.currentuser() if currentuser == nil {}

swift parse.com pfuser

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -