错误:应用委托加载是未声明的标识符

时间:2013-01-08 10:09:56

标签: iphone objective-c ios error-handling

我在iPhone注册页面编码中遇到了意想不到的问题。 错误是

  

app delegate loading是未声明的标识符

   if (!isValid)
   {
      [AppDelegate showAlert:@"Alert!" withMessage:strMessage];
   }
   return isValid;
}

-(void)registerUser {
   [Loading startLoading:YES];

   NSString *urlString = [NSString stringWithFormat:@"url=%@",Access_Token];
   //firstname,lastname,email,username,password

   NSString *parameter = [NSString   
        stringWithFormat:@"firstname=%@&lastname=%@&email=%@&username=%@&password=%@",
        firstnameField.text,lastnameField.text,
        emailField.text,UsernameField.text,passwordField.text];

   NSConnection *conn = [[NSConnection alloc] initWithDelegate:self];
   [conn sendRequest:urlString withParaMeter:parameter withMethod:@"POST" withTag:1];
   [conn startAsynchronousRequest];
}

0 个答案:

没有答案