I am trying to connect UIButton to IBAction in the interface builder, but IB will not show the method that I defined as an option to connect it.
- (IBAction)someAction:(id)sender;
This is what I have in the h file, and then in the M file I have
- (IBAction)someAction:(id)sender{ NSLog(@"Button Tapped."); }
The IB document is connected to this class, which I know, because this class also has a UIPicker , and it connects perfectly.
Any help would be brilliant on this,
Thank Callaghan001
source share