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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:35:16+00:00 2026-06-08T16:35:16+00:00

I have a view with a button and 8 labels, i want to repeat

  • 0

I have a view with a button and 8 labels, i want to repeat this view with input from the user to customize these labels, so there will be this base view displayed multiple times on the screen and i don’t want them to cover up each other, the button and placement of the labels are the same of each view.

How would i programmatically make a new view appear after user input of the instance view and make sure it doesn’t cover up any other view, i hope this isn’t to broad, i just want to have one set view with a button and 8 labels, copy it multiple times and display the user input, thanks.

  • 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-08T16:35:18+00:00Added an answer on June 8, 2026 at 4:35 pm

    If I’m understanding what you are looking for, you want the display to scroll up showing all the different views that have been created by the user, one after the other.

    To accomplish this, you can use a UIScrollView and programmatically add the views to the scroll view as needed. Make sure to increase the contentSize of the scroll view to account for the added views.

    Here is some code:

    UIScrollView *scrollview = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    
    //create and add as many of yourView as necessary for your project - y would be the the offset so it gets displayed under the other views
    
    YourCustomView *yourCustomView = [[YourCustomView alloc] initWithFrame:CGRectMake(0, y,self.view.frame.size.width, self .view.frame.size.height)]; 
    
    //populate yourCustomView with the appropriate information...
    
    [scrollview addSubview:yourCustomView];
    
    //when you are done adding your views - w and h are whatever your content dictates they are
    scrollview.contentSize = CGSizeMake(w, h);   
    [self.view addSubview:scrollview];
    

    Alternatively, depending on your setup and design, you could use a UITableView with a custom UITableViewCell that displays the pertinent info.

    Hope that helps!

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

Sidebar

Related Questions

I have a view containing a button. And i want to perform an action
I have created a view in which there is a capture button. When i
I have this if statement in my video show view: <% if @video.user ==
I have got this button: <input type=button value=Rep id=rep name=rep class=rep style=width:50px onclick=triggerLabel(1);this.disabled=true;addRep(<?php echo
I have a view that is presented when a user clicks on a button
I want to have user select between two different buttons on a view, If
I want to rotate a Button view by 45 degrees. For that I have
I have a UI table view loading data from network. If the user move
I have a view with a button at the bottom of the portrait screen,
I have a view with a button and three UITextFields. The view's background is

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.