button
One
NavigationBar

one button on NavigationBar

// image 24x24

 func setupNaviBarButtons() {
    let searchImage = UIImage(named: "search_icon")?.withRenderingMode(.alwaysOriginal)
    let searchBarButtonItem = UIBarButtonItem(image: searchImage, style: .plain, target: self, action: #selector(handleSearch))

    let moreButton = UIBarButtonItem(image: UIImage(named: "more_icon")?.withRenderingMode(.alwaysOriginal), style: .plain, target: self, action: #selector(handleMore))

    navigationItem.rightBarButtonItem = searchBarButtonItem
//    navigationItem.rightBarButtonItems = [UIBarButtonItem(), searchBarButtonItem]
  }