FacebookDisplayName on iOS with german umlauts

后端 未结 1 1122
鱼传尺愫
鱼传尺愫 2021-01-28 04:36

I have a facebook iOS integration and with my test facebook app everything worked fine. Now after I changed the facebook app id and display name to the live facebook app I get t

相关标签:
1条回答
  • 2021-01-28 05:14

    Found the solution by my self. The problem results of the different utf8 character representation and the resulting difference in a string comparison. My solution:

    [FBSettings setDefaultDisplayName:[[FBSettings defaultDisplayName] precomposedStringWithCanonicalMapping]];
    
    0 讨论(0)
提交回复
热议问题