I added 2 bar button items on my main view controller and linked them into code. I also created outlet to navigation item . Although, when I run the iOS simulator none of my bar button items appear, but navigation bar appears. I also tried to repeat it from code, but got the same result. In setup navigation bar I also check Translucent - got the same result. In 3D model screen:
navigation bar -> translucent on
Can someone help me?
The problem was in the hierarchy view controllers. In my case hierarchy was:
navigationVC -> tabBarVC -> myCustomVC ( my problem here )
To solve this problem, I changed it to:
tabBarVC -> navigationVC -> myCustomVC ( my resolve problem here )
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.