草庐IT

iphone - 无法使用自定义 View 触发条形按钮项目?

在我的iPhone应用程序中,我有一个要设置的导航栏图像我已经这样设置了....if([self.navigationController.navigationBarrespondsToSelector:@selector(setBackgroundImage:forBarMetrics:)]){[self.navigationController.navigationBarsetBackgroundImage:[UIImageimageNamed:@"navigationBarReady.png"]forBarMetrics:UIBarMetricsDefault];}UIBarBu