0
votes

I am working on iPad app in which click event of UINavigationController and UIToolBar is working fine in iOS 5 but, It is not working in iOS 6. My code:

self.window.rootViewController=navCon;    
[self.window makeKeyAndVisible];

and in other class where i am adding right bar button to UINavigationBar

self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"navBtn.png"] title:@"About" target:self action:@selector(aboutClicked)];

I am not getting click event of rightBarButton. Any help will be appreciated.

1
The method initWithImage:title:target:action is not a documented method of UIBarButtonItem... How is your code even compiling?Maarten

1 Answers