Making large toolbars like the iPod app
Posted
by andybee
on Stack Overflow
See other posts from Stack Overflow
or by andybee
Published on 2009-11-25T11:37:26Z
Indexed on
2010/04/09
3:03 UTC
Read the original article
Hit count: 361
iphone
|iphone-sdk
I am trying to create a toolbar programatically (rather than via IB) very similar to the toolbar featured in the iPhone app.
Currently I've been experimenting with the UIToolbar
class, but I'm not sure how (and if?) you can make the toolbar buttons centrally aligned and large like that in the iPod app.
Additionally, regardless of size, the gradient/reflection artwork never correctly respects the size and is stuck as if the object is the default smaller size.
If this cannot be done with a standard UIToolbar
, I guess I need to create my own view. In this case, can the reflection/gradient be created programmatically or will it require some clever alpha tranparency Photoshopped artwork?
© Stack Overflow or respective owner