Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8615535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:24:06+00:00 2026-06-12T05:24:06+00:00

In my application, I am using a login form to enter into the application,

  • 0

In my application, I am using a login form to enter into the application, also using NSUserDefaults to store user preferences, for example:

[storeData setObject:self.loginField.text forKey:@"USEREMAIL"]; 
[storeData setObject:self.PasswordField.text forKey:@"PASSWORD"];

Like I stored, if a new user logs in the NSUserDefaults stored value will be changed. But I want both preferences (ex:new userid and old userid as well as password). So please explain how to store multiple values for same key?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T05:24:08+00:00Added an answer on June 12, 2026 at 5:24 am

    first download and import files of given link

    https://github.com/ldandersen/scifihifi-iphone/tree/master/security

    then where u want to store user preferences write this code

    [SFHFKeychainUtils storeUsername:loginField.text andPassword:PasswordField.text forServiceName:@”dhaya” updateExisting:YES error:&error];

    where u want password write this code

    NSString *password = [SFHFKeychainUtils getPasswordForUsername:loginField.text andServiceName:@”dhaya” error:&error];
    NSLog(@”passwordpassword %@”,password);

    this will working great….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This application is using windows integrated authentication in IIS. No anonymous login. It's also
I want to integrate facebook login into my web application developed using Spring MVC.
I am developing an application in which I am using a login form at
I made a C# Windows Forms application that requires the user to login using
I am using Oracle.Web.Security.OracleMembershipProvider MembershipProvider for my ASP.NET application. My login form has username,
i want to create login form using sqlite in iphone view based application please
In my web application I am using Spring login form (with Spring-security). By default
I want to protect the login form of my Rails application using HTTPS. After
I have the following method which allows a user to login into my application:
I have an application which logs into an online site using POST form being

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.