I have upgraded my project from iOS 6 to iOS 7 but there seems a little problem. The status bar and a tool bar is overriding and very close to each other. The tool bar was e
Swift 3
Connect your bar delegate and conform to UIToolbarDelegate. Then add this delegate method:
func position(for bar: UIBarPositioning) -> UIBarPosition { return UIBarPosition.topAttached }
because now
enum UIBarPosition : Int { case any case bottom case top case topAttached }