I have a button action function in a controller named as "Remotecontroller". this is the method:
-(IBAction)startDiscover:(id)sender{.....}
I have another controller named as "iptvViewcontroller". I need to call the above method in this "iptvViewcontroller" when a button click. this is my button click function:
btnRefresh3 = [UIButton buttonWithType:UIButtonTypeCustom];
btnRefresh3.frame = CGRectMake(0, 0, 25, 20);
[btnRefresh3 addTarget:self action:@selector(startDiscover:)
[arrLeftBarItems addObject:barButtonItem3];
Please somebody help me to make it work.