Instance Property

shadowImage

The shadow image to be used for the navigation bar.

Declaration

@property(nonatomic, strong) UIImage *shadowImage;

Discussion

The default value is nil, which corresponds to the default shadow image. When non-nil, this property represents a custom shadow image to show instead of the default. To show a custom shadow image, you must also set a custom background image with the setBackgroundImage:forBarMetrics: method. If the default background image is used, then the default shadow image is used regardless of the value of this property.