Asynchronous POST to server
问题 The goal is to do a simple username/password authentication by querying a database. Until the connection is working decently my php destination file simply has following code: echo "Posted: " . $_POST['email']; The code to do this synchronously is this: NSString *post = [[NSString alloc] initWithFormat:@"email=%@&password=%@", self.email.text, ..]; // .. simplified keychainItem NSData *postEncoded = [post dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:NO]; NSString *postLength =