Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于App切换语言 #4

Open
HouWan opened this issue Jun 21, 2019 · 3 comments
Open

关于App切换语言 #4

HouWan opened this issue Jun 21, 2019 · 3 comments

Comments

@HouWan
Copy link

HouWan commented Jun 21, 2019

作者是直接切换了rootViewController,来达到其他页面切换语言的, 但是这样有个问题,假如用户在其他页面有了操作,切换了rootViewController之后,其他页面的操作和状态都没了,感觉不优雅,支付宝这块比微信好很多,支付宝切换多语言之后,其他页面的操作状态都不会有任何变化

@JmoVxia
Copy link
Owner

JmoVxia commented Jul 27, 2019

这里只是为了方便,直接切换根控制器

@shurouLei
Copy link

你好,我的切换根视图了没有切换语言,再次运行才看见切换了,这个知道是什么问题吗

@HouWan
Copy link
Author

HouWan commented Nov 17, 2019

@shurouLei 你这个比较笼统,也许是代码问题,也许是info.plist设置问题?反正没代码不好判断,自己好好检查一下吧。

最近在写国际版App,研究了一些国外常用App,比如LINE,Twitter,Facebook等,LINE切换语言很有意思,直接自我杀死,让你自己重新点开App。。。Twitter,Facebook在手机设置离更改,更改之后,App会被杀死,重新加载

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants