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 7566005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:18:09+00:00 2026-05-30T14:18:09+00:00

I have a login view with username & password textfields and two buttons for

  • 0

I have a login view with username & password textfields and two buttons for “sign in” and “create new account”. Currently, I have it so that if the user clicks the “create new account” button, it loads a new view with the same controls, except the “sign in” button is removed and a “confirm password” text field is added. Is is possible to add/remove these controls to the same view instead of loading a new view? If so, is it possible to animate this as well?

Thanks so much in advance for your wisdom!

  • 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-30T14:18:10+00:00Added an answer on May 30, 2026 at 2:18 pm

    You could try a simple UIView animation. I don’t think you can animate addSubview: or removeFromSuperview: but you can animate changes in alpha:

    // add confirmPasswordButton to the view, alpha=0 (invisible)
    [confirmPasswordButton setAlpha:0.0];
    [self.view addSubview:confirmPasswordButton];
    
    [UIView beginAnimations:@"switchButtons" context:NULL];
    [UIView setAnimationDuration:1.0];
    [confirmPasswordButton setAlpha:1.0];
    [signinButton setAlpha:0.0];
    [UIView commitAnimations];
    

    Those are the basics. Check out Apple’s docs for more details on callbacks, using blocks, more animation parameters, etc:
    https://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/AnimatingViews/AnimatingViews.html#//apple_ref/doc/uid/TP40009503-CH6-SW1

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

Sidebar

Related Questions

I have a Partial view (Login, with username, password and Submit button), and the
hai all, in my iphone application i have a login view with two text
Normally we have login page with username, password filed and signin button. Using the
Hi I want to create a WCF service that have login method, which is
Basically, I currently have login/ in urls.py redirect to the django.contrib.auth.views.login and that seems
i have a login view in asp.net-mvc. i want that user cannot able to
I have the following code for my login view: <?php echo $session->flash('auth'); echo $this->Form->create('User',
So I have two view controller that I load on the app delegate when
I have login view that takes a LoginPageViewModel: public class LoginPageViewModel : PageViewModel {
I currently have a login page that sends all authenticated users to a main

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.