iOS上的FacebookDisplayName与德语变音符号

编程入门 行业动态 更新时间:2024-10-28 17:22:34
本文介绍了iOS上的FacebookDisplayName与德语变音符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个Facebook iOS集成和我的测试Facebook应用程序一切正常。现在,在我将facebook应用程序ID和显示名称更改为实时Facebook应用程序后,我收到错误102

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 the error 102

无法验证应用程序,因为应用程序名称不匹配。请检查对话框配置的应用程序名称

"Failed to authenticate the application because of app name mismatch. Please check the application name configured by the dialog"

Facebook应用程序显示名称有德语变音符号:ö我认为这是问题所在。 刚刚发现这个问题: Facebook IOS App DisplayName和德国元音Ublauts

The facebook app display name has a german umlaut: ö I think this is the problem. Just found this question: Facebook IOS App DisplayName and German Umlauts

推荐答案

自己找到解决方案。 不同的utf8字符表示形式的问题结果以及字符串比较中产生的差异。 我的解决方案:

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]];

更多推荐

iOS上的FacebookDisplayName与德语变音符号

本文发布于:2023-10-26 22:55:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1531591.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:德语   符号   iOS   FacebookDisplayName

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!