Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
UINavigationButton - iPhone Development Wiki

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)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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