​​ ​

The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


i have problem with nsuser at login

i have problem with this i want want to login with another view controller the username and password recive from webservices


and responce string return the 0 and 1


NSString *responseString = [[NSStringalloc] initWithData:returnData encoding:NSUTF8StringEncoding];

NSLog(@"responcestring%@",responseString);



if([responseString isEqualToString:false] )

{

UIAlertView *alert = [[UIAlertViewalloc] initWithTitle:@""message:@"WRONG USER"delegate:selfcancelButtonTitle:@"Ok"otherButtonTitles:nil, nil];

[alert show];

[alert release];



}

else {

[prefs setObject:@"true" forKey:@"login"];

[prefs synchronize];

Mac mini, OS X Mountain Lion (10.8.2)

Posted on Mar 12, 2013 4:26 AM

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

i have problem with nsuser at login

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.