Here's a screenshot of keynote on the ipad:
(source: scottyallen.com)
The toolbar is pretty flat - it doesn't have a vertical gradient the way the builtin toolbar styles do. I've played with the different styles, the translucent flag, and the tint color, and haven't been able to replicate it.
How are they doing this? How would I implement it?
Build objects one piece at a time Select a table, chart, or block of text (for example, a list or text with some paragraphs). Click Animate in the toolbar. Click Add an Effect, then choose an animation. Click the Delivery pop-up menu, then choose how you want the object to build.
I think your talking about the UIToolbar
on top, not the toolbar-ish controls at the bottom.
Changing the looks of a UINavigationBar
or UIToolbar
is really easy, you can just use an image instead of the calculated tintColor
and default gradient.
To do this, you'll need to subclass (or make a category of) the UINavigationBar
or UIToolbar
and overwrite the drawRect:
method, like this:
- (void)drawRect:(CGRect)rect {
UIImage *image = [UIImage imageNamed:@"toolbarBackground.png"];
[image drawInRect:rect];
}
This image
then gets drawn at the exact rect
of the UINavigationBar
or UIToolbar
, functioning as a background image.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With