title: incompatible pointer to integer conversion sending 'NSString*' to parameter of type 'BOOL' (aka 'signed char')
body: <p>This is the mistake: </p>
  
  <p>incompatible pointer to integer conversion sending 'NSString*' to parameter of type 'BOOL' (aka 'signed char')</p>
  
  <p>I don't know what to do. Please show me my mistake. </p>
  
  <pre><code>{
  
  
  
  NSString *post =[NSString stringWithFormat:@"username=%@&amp;password=%@",Name.text, Passwort.text];
  
  NSString *hostStr = @"www....de.php";
  hostStr = [hostStr stringByAppendingString:post];
  NSData *dataURL =  [NSData dataWithContentsOfURL: [ NSURL URLWithString: hostStr ]];
  NSString *serverOutput = [[NSString alloc] initWithData:dataURL encoding: NSASCIIStringEncoding];
  
  
  
  
  
  
      BOOL loggedIn = [serverOutput isEqualToString: @"YES"];
      if (loggedIn)
      {
          [_LOGIN setEnabled:@"YES"];
      }
      else
      {
          [_LOGIN setEnabled:@"NO"];
          UIAlertView *alertsuccess = [[UIAlertView alloc] initWithTitle:@"Error" message:@"Benutzername oder Passwort falsch"
  
                                                                delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
      }
  
  }
  </code></pre>