开发者

when i create a button with identifier,action parameters is giving error

stop = [[UIButton alloc] style:UIButtonTypeCustom target:self identifier:stop action:@selector[webView stopLoading]];

when i am using this is g开发者_开发百科iving syntax eerror : is expected


The proper syntax is @selector(stopLoading)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜