Show vertical title in UIButton?

I am new to iPhone programming. And I'm stuck in this easy problem.

I have UIViewwith UIButton. The size UIButtonis 40x200 close to the left edge. I need to show the text vertically in a button. Is there a way to do this without using any images since the text is dynamic? I tried vertical UILabelwith transparency UIButtonover it. But I do not think this is the right way ...? Any help. Can I only do this with help UIButton?

Thank..

+3
source share
2 answers

use character wrapper

enter image description here

based on your string

enter image description here

+4
source

Character Wrap , . \n Character Wrap, Word Wrap.

+1

All Articles