手动构建:
[btnRun addTarget:self action:@selector(RunApp:) forControlEvents:UIControlEventTouchUpOutside];
以编程方式构建:类似于以下内容??
- (void) setRunButton:(UIButton*)objectName mySelector:(NSString*)funcName myControlEvent:(NSString*) controlEvent
{
[objectName addTarget:self action:@selector(funcName) forControlEvents:controlEvent];
}