I am trying to align label text vertically aligned for my iPhone application Timer. Basically it's a game application and timer value appears in MM:SS format in label in landscape mode. When I have added label and tried to set this value it appears like image 1 which is not correct. I found from many threads that you can set multiple line and make label width as one char but it appears like image 2 which is also wrong. I want my timer 开发者_StackOverflowvalue to appear as image 3. Could anyone please tell me how could I achieve it?
Thanks.
[Added real picture of what I am trying to do]
try this
CGAffineTransform transform=CGAffineTransformMakeRotation(300);//change angle according.
transform=CGAffineTransformMakeRotation(-300);//change angle according.
lbl.transform=transform;
精彩评论