iOS - Parse Login - Change Button Title

104 Views Asked by At

I can not change the title of the button Sign Up of the screen Log In.

The self is PFLogInViewController.

self.logInView?.signUpButton?.setTitle("Test new String", forState: UIControlState.Normal)

I changed of other button, the same code. It works.

self.logInView?.logInButton?.setTitle("Entrar", forState: UIControlState.Normal)
self.logInView?.passwordForgottenButton?.setTitle("Esqueceu a Senha?", forState: UIControlState.Normal)

Any idea?

1

There are 1 best solutions below

1
gomezo On BEST ANSWER

ParseUI uses internationalization: http://blog.parse.com/announcements/internationalization/

So maybe you should use localization to change the title as in the code implementation they maybe change the title even if you set it.

Stackoverflow thread about this subject: Localization of ParseUI

Hope this helps!