开发者

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

开发者 https://www.devze.com 2023-01-15 07:00 出处:网络
stop = [[UIButton alloc] style:UIButtonTypeCustom target:self identifier:stop action:@selector[webView stopLoading]];

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

精彩评论

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