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

Set button text #160

Open
eduardocoelho opened this issue Mar 4, 2014 · 1 comment
Open

Set button text #160

eduardocoelho opened this issue Mar 4, 2014 · 1 comment

Comments

@eduardocoelho
Copy link

Hi folks,
I need to draw buttons with localized text in my application, but I could not find a way to set up a UIButton instance text property (plus a normal/selected background image).

Does anyone know if someone has done (or simulated) this before?

@oddgames-david
Copy link
Contributor

You can use a seperate UITextInstance object in front of your button.

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

2 participants