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)
精彩评论