简体   繁体   中英

IOS Twitter Digits - Change Title, Placeholders

I am trying to implement Twitter Digits for sms login in my ios demo.

It is all working. But, I want to change "What is your number", "Send confirmation code", and user agreement text below because it does not automatically change those values into my language.

屏幕截图

I can also create my own UI if there is a way to call "Send confirmation code" button.

Is there any change doing so?

I have found out the solution. I have forcefully set my app language into my language. Digits already supports my language. It is all done at once.

    NSUserDefaults.standardUserDefaults().setObject(["lang_Code"], forKey: "AppleLanguages")
    NSUserDefaults.standardUserDefaults().synchronize()

Thank me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM