我正在编写此代码以访问 web 服务并收到错误(EXPECTED EXPRESSION)
-(IBAction)loginAction:(id)sender //here I m getting the error( (*expect expresion)))
{
NSString *urlStr = [NSString stringWithFormat:@"http://192.168.0.2/mobileBill/login.ashx?username=%@&password =%@&simno=%@", username.text, password.text, @""];
NSURL *url = [NSURL URLWithString:urlStr];
request = [NSMutableURLRequest requestWithURL:url];
connection = [NSURLConnection connectionWithRequest:request delegate:self];
}