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

比如: 

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

一开始我没加,就报错。

posted on 2014-05-29 21:51  锅仔排骨  阅读(457)  评论(0编辑  收藏  举报