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: Difference between revisions - iPhone Development Wiki

UINavigationButton: Difference between revisions

From iPhone Development Wiki
(Created page with ''''UINavigationButton''' is a subclass of UIButton which is the actual control that the UIBarButtonItems represents. == Styles and bar styles == [[Image:UINavigationButt…')
 
(No difference)

Latest revision as of 10:44, 6 February 2010

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