Skip to content

Commit

Permalink
Extend Example By Removing Navbar Shadow Image
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackjacx committed Dec 13, 2018
1 parent 5da6650 commit 670c4eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Example/SHSearchBar/ViewController.swift
Expand Up @@ -92,6 +92,9 @@ class ViewController: UIViewController, SHSearchBarDelegate {

view.backgroundColor = UIColor.white

// Hides the line of the bottom of the navigation bar
navigationController?.navigationBar.shadowImage = UIImage()

let leftView1 = imageViewWithIcon(searchGlassIconTemplate, rasterSize: rasterSize)
searchBar1 = defaultSearchBar(withRasterSize: rasterSize, leftView: leftView1, rightView: nil, delegate: self)
view.addSubview(searchBar1)
Expand Down

0 comments on commit 670c4eb

Please sign in to comment.