开发者

I can not add navigation item to navigation bar

开发者 https://www.devze.com 2022-12-28 23:22 出处:网络
I add a Navigation Bar to an view, I noticed that there is no left side arrow(Navigation Item). so I drag a Navigation Item from library to Navigation Bar, the green mark \"+\" displayed, but the Navi

I add a Navigation Bar to an view, I noticed that there is no left side arrow(Navigation Item). so I drag a Navigation Item from library to Navigation Bar, the green mark "+" displayed, but the Navigation Item was not added to the Navigation Bar actually.

Welcome any comment

Than开发者_JS百科ks interdev


Does your navigation bar have a stack? Even without using it in a UINavigationController, you can maintain a stack of navigation controllers. I suspect that the "Back" button will only display if there's something behind your current view controller. So, try the -setItems:animated: method on your navigation bar and see if putting something behind the current view helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消