Sunday, 15 September 2013

Switching to Safari for Facebook login terminates iOS app -



Switching to Safari for Facebook login terminates iOS app -

i designing facebook-enabled app , i'm testing facebook login. using parse (1.4.2, latest) parsefacebookutils (1.4.2, latest). here how login:

[pffacebookutils loginwithpermissions:@[@"user_friends"] block:...];

however, moment tap button, app switches safari login facebook, , gets terminated immediately. verify behavior both debugger gets detached , app delegate's -applicationwillterminate: method called.

some other unusual behavior observed applicationwillenterforeground: not getting called applicationdidenterbackground: beingness called before terminate handler.

i on ios 8.1 simulator. how solve it?

apparently key in info.plist file called application not run in background. it's borrowed project, , haven't seen key before. i've deleted key , problem gone.

ios facebook parse.com facebook-ios-sdk parsefacebookutils

No comments:

Post a Comment