button的action属性如果有参数,必须加“:”

比如: 

[bt addTarget:self action:@selector(shareButtonClickHandler:) …… 后面未写完

一开始我没加,就报错。

原文地址:https://www.cnblogs.com/guozai9527/p/3760093.html