简体   繁体   中英

iphone-while clicking navigation bar anywhere page redirects to previous page

我在导航栏的左侧有一个后退按钮....并且我将后退按钮的操作作为弹出视图控制器传递给了...。当我在导航栏中单击时,后退按钮的操作就会调用.... ...如何限制..........当我单击导航栏时.....请帮助我...

在您的UIViewController继承类中使用以下代码,

self.navigationItem.hidesBackButton = YES;

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM