I have a viewController Category and Having a UILabel in the category.
I want to set label title from anther viewController.

when I tried getting crash.

```
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[BaseViewController setTitleLabel:]: unrecognized selector sent to instance 0x7fcfe857a580'

```

How can I achieve this.

Edit :

`TitleLabel` is a label in Category, here is the code in UIViewController category

```
 UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    btn.frame = CGRectMake(0, 0, 50, 50);
    [btn setImage:[UIImage imageNamed:@"Menu"] forState:UIControlStateNormal];
    [btn addTarget:self action:@selector(MenuPressed:) forControlEvents:UIControlEventTouchUpInside];
    UIBarButtonItem *leftBtn = [[UIBarButtonItem alloc]initWithCustomView:btn];

    UIButton *btn1 = [UIButton buttonWithType:UIButtonTypeCustom];
    btn1.frame = CGRectMake(0, 0, 70, 44);
    [btn1 setTitle:@"Clickme!" forState:UIControlStateNormal];
    btn1.backgroundColor = [UIColor blueColor];

    UILabel *titleLabel = [UILabel new];
    titleLabel.frame = CGRectMake(0, 0, 100, 44);
    titleLabel.backgroundColor =[UIColor cyanColor];

    UIBarButtonItem *barBtn2 = [[UIBarButtonItem alloc]initWithCustomView:btn1];
    UIBarButtonItem *barTitle = [[UIBarButtonItem alloc]initWithCustomView:titleLabel];
    UIBarButtonItem *flexibleItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil];

    NSArray *barBtnArray = @[leftBtn,flexibleItem,barTitle,barBtn2];
    self.navigationItem.leftBarButtonItems = barBtnArray;

```