How do you add a UIToolbar on top of screen?
Question
Is it possible to have a UIToolbar on the top of the screen? The example application would be like "Calendar" where it has the "+" on the right, and then the "Calendars" button on the left.
Solution
You can put a UIToolbar
anywhere. It's just a UI view.
OTHER TIPS
At the top of the screen you would typically put a UINavigationBar
. UIToolbars
are usually placed at the bottom of the screen.
You can add this either programatically in the loadView
method of a UIViewController
or graphically in the XIB resource file.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow