UINavigationButton

From iPhone Development Wiki
Revision as of 10:44, 6 February 2010 by KennyTM~ (talk | contribs) (Created page with ''''UINavigationButton''' is a subclass of UIButton which is the actual control that the UIBarButtonItems represents. == Styles and bar styles == [[Image:UINavigationButt…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

UINavigationButton is a subclass of UIButton which is the actual control that the UIBarButtonItems represents.

Styles and bar styles

Showcase of different types of navigation buttons. s= here means the style and b= means barStyle. The first 4 rows are the rendering in iPhone mode and the last 4 rows are in iPad mode.

As of 3.2, a UINavigationButton can accept 5 different kinds of styles, and 4 different kinds of bar styles, as shown above. The styles are:

  • 0: Normal
  • 1: Back
  • 2: Done
  • 3: Cancel
  • 4: White (3.2 –)

and the bar styles are:

  • 0: UIBarStyleDefault
  • 1: UIBarStyleBlack
  • 2: UIBarStyleBlackTranslucent
  • 3: Popover (3.2 –)

References