惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
V
Vulnerabilities – Threatpost
Google Online Security Blog
Google Online Security Blog
Hugging Face - Blog
Hugging Face - Blog
L
LINUX DO - 热门话题
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
D
Docker
C
Cyber Attacks, Cyber Crime and Cyber Security
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
T
Tenable Blog
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
小众软件
小众软件
Cisco Talos Blog
Cisco Talos Blog
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
A
Arctic Wolf
C
Cybersecurity and Infrastructure Security Agency CISA
C
Cisco Blogs
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
The Hacker News
The Hacker News
Project Zero
Project Zero
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threatpost
V
Visual Studio Blog
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
Jina AI
Jina AI
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
MongoDB | Blog
MongoDB | Blog
U
Unit 42
Scott Helme
Scott Helme
A
About on SuperTechFans
WordPress大学
WordPress大学
F
Fortinet All Blogs
大猫的无限游戏
大猫的无限游戏
G
GRAHAM CLULEY
Latest news
Latest news
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Schneier on Security

博客园 - freemobile

得物小程序解析data加解密算法 某物抓数据出现验证码的解析思路 excel中移除编辑限制的宏脚本 广西扬美古镇虚拟旅游 pip3快速下载paddle 2018年上半年越南数字广告营销市场情况 thinkphp5(tp5)中success跳转页面和弹窗问题解决 Could not find com.android.support.constraint:constraint-layout的问题解决 角摩网发布在线制作Epub、Mobi格式的电子书 电子书mobi的格式详解 ajax成功返回数据中存在多余字符的处理 zendstudio采用xdebug调试,断点不停的解决 jeecms运行出现 Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.解决 rsync进行不同服务器之间的数据同步 Linux常用操作 重置mysql数据库密码 windows下IIS+PHP解决大文件上传500错问题 linux下重置mysql的root密码 nginx下rewrite参数超过9个的解决方法
ecmobile中IOS版本中界面文字不显示的解决
freemobile · 2016-07-28 · via 博客园 - freemobile

查找以下方法。 
- (BOOL)setCurrentLanguageName:(NSString *)name
{
        BeeLanguage * lang = [self findLanguage:name];
        if ( nil == lang )
        {
                NSString * langPath = [[NSBundle mainBundle] pathForResource:name ofType:@"xml"];
                NSString * langPath2 = [[NSBundle mainBundle] pathForResource:name ofType:@"lang"];

                NSLog(@"%@ %@", langPath, langPath2);

                NSString * content = [NSString stringWithContentsOfFile:langPath encoding:NSUTF8StringEncoding error:NULL];
                if ( nil == content )
                {
                        content = [NSString stringWithContentsOfFile:langPath2 encoding:NSUTF8StringEncoding error:NULL];
                }
                //这里替换原来的内容--start
                if ( content == nil )
                {
                        NSString * defaultlangePath = [[NSBundle mainBundle] pathForResource:@"zh-Hans" ofType:@"lang"];
                        content = [NSString stringWithContentsOfFile:defaultlangePath encoding:NSUTF8StringEncoding error:NULL];
                }

                lang = [BeeLanguage language:content];
        }

        if ( lang )
        {
                lang.name = name;
                
                [self applyLanguage:lang];
                return YES;
        }
        
        return NO;

}