objective-c - ios导航栏切换错误
大家讲道理
大家讲道理 2017-04-18 09:15:04
0
1
332

首页的导航栏自定义了titleView,titleView为一张图片。
leftItem和rightItem为custom类型的item。
当push到MessageController时,有时会出现这种情况:首页的导航栏被应用到了MessageController上,也就是说,push过来时,导航栏没有变化。
在MessageController中,只自定了leftItem,中间的标题使用self.title来设置的,没有其他操作。
但是push到其他controller时,从没出现过这种情况。唯一特殊的是,MessageController是继承自UITableViewController
无论是ios 9 还是 ios 7 都出现过这种错误,不知大家有没有相关经历和经验,请不吝赐教。

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
巴扎黑

Hello, I also encountered a similar problem to yours. There is such a problem in only one interface. It is also inherited from UITableViewController. However, the probability of occurrence is very low and it occurs occasionally. Have you solved it?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template