UISwitch not displaying on/off in other languages

I am using a UISwitch in the ViewController, it displays as ON and OFF, but when I change to different language like french and spanish , the UISwitch is displayin as 1/0 . What is the reason ? How to solve it ?


Find the answer here. You no need to worry. Its common in iOS all over the world.

you can try this custom switch,


Need Your Help

Behaviour of ruby with regards to numerical exactness (Scheme comparison)

ruby lisp scheme

In Ruby (1.9), are numbers always considered exact? I know Ruby does some fairly complex stuff with numbers under the hood, since you can do crazy things like ask for 1 trillion to the power of 1

Unit Testing Dababase Applications

unit-testing tdd phpunit

I am trying to get in to the TDD realm, and I'm having a hard time unit testing a few user models I have. I'm trying to test the validation of my models, and the business requirements are as follow...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.