I want to implement a toolbar in my iOS app, which displays the App's logo in the center of the toolbar and shows a
You should be using a
UINavigationBar instead of a
UINavigationBar is for the top of the screen since it has a shadow on its bottom edge. It also supports having a title/titleView that is centred.
UIToolbar is for the bottom of the screen since it has a shadow on its top edge. It does not have properties for adding a title so you would have to do it manually. Also, flexible space lays out the elements so each flexible width item has the same width.