iphone - How do I make toolbars that look like the ones in Keynote? -


Here is a screenshot of the main note on the iPad:

The toolbar is Very flat - there is no vertical shield in this way, as the Biltin toolbar style, I have played with different styles, translucent flags and tint colors, and I am not able to repeat it.

How are they doing this? How do I implement it?

I think the UIToolbar at the top, bottom toolbar-eye control No.

Changing the look of a UINavigationBar or UIToolbar is really easy, instead of just one tintcolor and default gradient Image.

To do this, you will need to create the UINavigationBar subclass (or create a class) or UIToolbar and : Method, like this:

  - (zero) drawRect: (CGRact) racket {UIImage * image = [UIImage imageNamed: @ "toolbarbackground page"]; [Image drawinct: rect]; }  

This is drawn on image then rect on UINavigationBar or Utulbarbar , Working as a background image.


Comments