How to create a custom navigation bar, for example, the following image in swift?

Iphone Input Panel

I am working on a project where I need exactly the same configuration in the navigation bar. Since the height of the navigation bar is fixed, I cannot create it, as in this image. I am using the UITableViewController built into the navigation controller.

Does anyone know how to do this?

Thank you in advance

+4
source share
1 answer

Hey, I did a lot of google and finally found a solution to this problem. here is a snapshot from the xcode 7 interface constructor. enter image description here

heres , apple navbar, . Objective C.

https://developer.apple.com/library/ios/samplecode/NavBar/Introduction/Intro.html

:

1) - , , .

2) UIView , (: )

3) Tableview UIView viewcontroller,

, UIView navabar viewDidLoad

Swift 2.0

self.navigationController?.navigationBar.translucent = true
self.navigationController?.navigationBar.clipsToBounds = true

, , UIView , .

+1

Source: https://habr.com/ru/post/1619063/


All Articles