MFMessageComposeViewController中的接口语言(Interface language in MFMessageComposeViewController)
我正在尝试使用MFMessageComposeViewController从我的iphone发送短信。 它显示了一个带填充字段的模态对话框。 一切正常,但我想用俄语显示对话。 我希望用俄语看到所有值(例如“新消息”,“发送”等)。
我检查了默认语言:
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSArray *languages = [defaults objectForKey:@"AppleLanguages"]; NSString *currentLanguage = [languages objectAtIndex:0]; NSLog(@"Current Locale: %@", [[NSLocale currentLocale] localeIdentifier]); NSLog(@"Current language: %@", currentLanguage);
它返回,那语言是ru-RU。
如何为此对话框设置lang?
I'm trying to send sms from my iphone using MFMessageComposeViewController. It shows a modal dialog with filled fields. everything work, but I want to show dialog in Russian Language. I want to see all values (such as "New message", "send", etc) in Russian.
I'v checked default language:
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSArray *languages = [defaults objectForKey:@"AppleLanguages"]; NSString *currentLanguage = [languages objectAtIndex:0]; NSLog(@"Current Locale: %@", [[NSLocale currentLocale] localeIdentifier]); NSLog(@"Current language: %@", currentLanguage);
And it returns, that language is ru-RU.
How can I set a lang for this dialog?
原文:https://stackoverflow.com/questions/6094089
满意答案
您的select语句有额外的; 在里面。 所以你的mysql_num_rows是0,它没有登录你。
Your select statement has an extra ; in it. So your mysql_num_rows is 0, which is not logging you in.
相关问答
更多获取会话变量值(Get session variable value)
检测Citrix XenDesktop会话(Detecting a Citrix XenDesktop Session)
会话变量不显示(Session variable not displaying)
PHP会话变量(php session variable)
从会话PHP中获取价值(Getting value from session PHP)
检测python变量值的变化(Detecting change in the value of python variables)
PHP没有正确检测会话变量值(PHP not detecting session variable value properly)
会话变量无法正常工作,我该如何改进(Session variable is not working properly how can i improve)
检测PHP中是否正确设置了会话cookie(Detect if session cookie set properly in PHP)
如何正确删除PHP会话?(How to properly delete a PHP session?)
相关文章
更多常用HQL(Hibernate Query Language)查询
利用XUL(XML User-interface Language)是否能提高图形界面的开发效率?
《C++程序设计语言 特别版 十周年纪念版》(The C++ Programming Language Special Edition)扫描版[PDF]
必须会的十种语言
JAVA设计模式学习1——统一建模语言UML
.NET 微信开放平台接口
.NET 微信开放平台接口
.NET 微信开放平台接口
Storm 多语言支持
实例讲解Hadoop中的hive查询(Python语言实现)
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!