i have developed an iPad app. In that app i have 4 separate views embedded inside a single view controller and there is a navigation bar for each view.I want to set the corner radius of each navigation bar.
i tried
customNavigationBar.layer.cornerRadius = 25;
but this piece of code is not working. Does anyone know how to set the corner radius for each navigation bar.