UIButton *button = (UIButton *)view;
NSSet *targets = [button allTargets];
if (targets.count==1) {
id target = [targets anyObject];
NSArray * actions = [button actionsForTarget:target forControlEvent:UIControlEventTouchUpInside];
NSLog(@"actions == %@",actions);
if (actions.count == 1)
{
NSString *action = [NSString stringWithFormat:@"%@",actions[0]];
SEL seletor = NSSelectorFromString(action);
}
}