Adding Emboss to a UILabel in a navigationItem.titleView (as seen with navigationItem.title)
Posted
by Sahil
on Stack Overflow
See other posts from Stack Overflow
or by Sahil
Published on 2009-04-15T21:31:36Z
Indexed on
2010/03/29
11:23 UTC
Read the original article
Hit count: 500
I'm trying to mimic the default emboss that automatically gets applied to navigationItem.title, as well as many other UIKit controls.
As seen in this screenshot's title ("Table Cells"):
I'm essentially trying to add 2 UILabels to the navigationItem.titleView, however the UILabels just show up as flatly drawn and it really just doesn't feel/look right :P
I've thought about playing with shadows, but that would only give the embossed look (if even that) on one side of the label.
Any ideas would be great!
Thanks
© Stack Overflow or respective owner