title: how to set uitoolbar's background similar to my navigation bar
body: <p>Hello everyone:<br>
  I have set a custom background for my navigation bar, it's a tint color i think that i chose from IB. Now i want to change the my uitoolbar's (added programmatically) background similar to my navigation bar, programmatically. Obliged for any help in this regard.   </p>
  
  <p>Sorry guys my bad it's actually navigation controller's toolbar. so this worked for me:<br>
  <code>self.navigationController.toolbar.tintColor=self.navigationController.navigationBar.tintColor;</code></p>
  
  <p>Thanks all of u guys for quick response especially @phooze which set me in the right direction :)</p>