Re: [問題] xcode5 ios facebook登入問題

看板MacDev作者 (尼澳鐵特)時間12年前 (2013/09/02 22:06), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
推完文又看到StackOverflow上其實發問的人自己就有解答了... "That helps. I think my appears to be from clicking the IBAction more than once before the session could be opened. If I give it time, it seems to work fine. I included a spinner to signal that" 他說連點太多次的話 (跟你的情況一樣), 在Facbook還沒來得及開啟session之前 Dictionary就被賦值了 (還沒有資料) 所以會 crash 解決方法應該就多加幾個判斷吧 XD, 希望有幫助到你 ※ 引述《issuemylove (skill)》之銘言: : 各位大大好 : 我依照 FB 官網的 iOS SDK Tutorial 實作 : https://developers.facebook.com/docs/ios/ios-sdk-tutorial/authenticate/ : 我做到第二階段"Personalize" (有五個階段) : 後來遇到了跟這一篇 stackoverflow 提問者相同的 error message : http://stackoverflow.com/questions/18474824/ : 我是在按下登入按鈕之後 : 要權限的那一頁按取消之後再多按(連按)很多次登入按鈕 : 就會 crash : 請問有大大知道這是怎樣的問題嗎? 謝謝! : error message: : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', : reason: '*** setObjectForKey: object cannot be nil (key: 0_auth_logger_id)' -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.135.254.189
文章代碼(AID): #1I99jYzs (MacDev)
文章代碼(AID): #1I99jYzs (MacDev)