我在我的应用程序中使用 UITabBarController。
如何禁止人们点击标签?
试图阻止人们在某些正在发生的事情完成之前点击离开到另一个部分。
谢谢你,
三通
最佳答案
想通了。
UITabBarController.tabbar.userInteractionEnabled = NO;//disable
UITabBarController.tabbar.userInteractionEnabled = YES;//enable
关于objective-c - Objective-C - UITabViewController 禁用 tabBar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7535701/