Inherits from UINavigationBar
Declared in PrettyNavigationBar.h

Overview

PrettyNavigationBar is a subclass of UINavigationBar that removes the glossy effect and lets you customize its colors and corners.

You can change the navigation bar appearance as follows:

  • shadow opacity
  • gradient start color
  • gradient end color
  • top line volor
  • bottom line color
  • corner radius

Tasks

Properties

bottomLineColor

Specifies the gradient’s bottom line color.

@property (nonatomic, retain) UIColor *bottomLineColor

Discussion

By default is a blue tone.

Declared In

PrettyNavigationBar.h

gradientEndColor

Specifies the gradient’s end color.

@property (nonatomic, retain) UIColor *gradientEndColor

Discussion

By default is a blue tone.

Declared In

PrettyNavigationBar.h

gradientStartColor

Specifies the gradient’s start color.

@property (nonatomic, retain) UIColor *gradientStartColor

Discussion

By default is a blue tone.

Declared In

PrettyNavigationBar.h

roundedCornerColor

Specifies the background color for the rounded corners.

@property (nonatomic, retain) UIColor *roundedCornerColor

Discussion

By default is a black tone.

Declared In

PrettyNavigationBar.h

roundedCornerRadius

Specifies the radius for the rounded corners.

@property (readwrite) CGFloat roundedCornerRadius

Discussion

By default it is 0.0 which means there is no rounded corners.

Declared In

PrettyNavigationBar.h

shadowOpacity

Specifies the navigation bar shadow’s opacity.

@property (nonatomic, assign) float shadowOpacity

Discussion

By default is 0.5.

Declared In

PrettyNavigationBar.h

topLineColor

Specifies the gradient’s top line color.

@property (nonatomic, retain) UIColor *topLineColor

Discussion

By default is a blue tone.

Declared In

PrettyNavigationBar.h