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

  • Home
  • SEARCH
  • 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 6234779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:32:55+00:00 2026-05-24T10:32:55+00:00

I want to develop a functionality in an iPhone app to validate username and

  • 0

I want to develop a functionality in an iPhone app to validate username and password using a UITextfield and also to check if the username is already exits and the password must be at least 6 characters.

Please give me any link or any idea to develop this functionality.

Thanks in advance.

  • 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-05-24T10:32:56+00:00Added an answer on May 24, 2026 at 10:32 am

    We assume that you have already got all the userNames in userNamesArr array

    if (pwdTextField && [pwdTextField length] > 6 ){
    
      for(NSString* existUserName in userNamesArr){
         if(existUserName isEqualToString:txtUserName.text){ //txtUserName is your UItextField
             UIAlertView *alert=[[UIAlertView alloc]initWithTitle:@"" message:@"User name already exists" delegate:self cancelButtonTitle:@"Try with different user name" otherButtonTitles:nil];
    
            [alert show];
            [alert release];
            return;
        }else{
             // ** Save New User to your database **
        }
    }else{
         UIAlertView *alert=[[UIAlertView alloc]initWithTitle:@"" message:@"Password should be atleast 6 characters" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil];
    
        [alert show];
        [alert release];
    }
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to develop an iPhone application using the utility template, where the flip
i am develop app in Blackberry which have photo functionality. i want to get
I want to develop a simple orm which performs CRUD functionality.Shold i use reflection?
I want to develop a mobile web application using asp.net 3.5 that can be
I want to develop windows C/C++ program, but i need in it functionality like
I want to develop a Java EE6 application that contains some Web-GUI functionality. Suppose
I'm trying to develop an app for ipad and I'm using the contenteditable feature.
I want to send & receive msg using xmppframework in iphone so I am
I want to develop a Facebook integration in my iPhone apps and is there
I want to develop an application in iPhone and Android both which can display

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.