Hi,
I have created a custom bar button item in code.
UIButton* backButton = [UIButton buttonWithType:102]; // left-pointing shape! [backButton addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside]; [backButton setTitle:@"Custom Item" forState:UIControlStateNormal];
// create button item -- possible because UIButton subclasses UIView! UIBarButtonItem* backItem = [[UIBarButtonItem alloc] initWithCustomView:backButton]; self.navigationItem.leftBarButtonItem = backItem;
But it displays as dark blue. I need to get the default look and feel for this. How to set the default look and feel?
Regards,
Dilshan