You can set the alpha value for UIBarButtonItem. To do this, you need to create a UIButton and then set it as a UIBarButtonItem view. Here is an example:
UIButton *pauseButton = [UIButton buttonWithType:UIButtonTypeCustom]; [pauseButton setTitle:NSLocalizedString(@"pause", nil) forState:UIControlStateNormal]; [pauseButton sizeToFit]; [pauseButton addTarget:self action:@selector(pauseButtonClick) forControlEvents:UIControlEventTouchUpInside]; pauseButton.titleLabel.alpha = 0; self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:pauseButton];
source share