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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:43:48+00:00 2026-06-06T19:43:48+00:00

I am designing an iphone application and I need help structuring the program. I

  • 0

I am designing an iphone application and I need help structuring the program. I am new to xcode, but I’m still using xcode 3 because I don’t have lion. The question I have pertains to using a view controller. My first question is how do I get rid of the view on the screen if I do not know which view is on the screen? My next question is how do I add the view I want to? I know i’m asking alot but I’ve tried a bunch of stuff and its not working.

  • 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-06T19:43:50+00:00Added an answer on June 6, 2026 at 7:43 pm

    You can get the list of subviews currently displayed on the view like this:

    NSArray *subArray = [self.view subviews];
    

    or if you assign each one a tag when you add it, you can get a particular subview by its tag, ie.

    UIView *someView = [self.view viewWithTag:100];
    

    Once you’ve created an object for the view you want to work with you can simply call removeFromSuperview:

    [someView removeFromSuperview];
    

    Is that what you mean? Like removing buttons and images from the screen? Or do you actually mean you want to push/pop view controllers (like returning to the main menu from a game, etc)

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

Sidebar

Related Questions

I am designing an iphone application in objective C. As of now, I have
I am into designing a new iPhone application. My application is will contain almost
i need some help with designing iphone's core data object model context. I've started
I am creating an PhoneGap application for iPhone. When I am designing and testing
I'm designing an application that reads data to the iPod touch/iPhone that is sent
I'm designing an iPad/iPhone app using core data. The main focus of the app
While designing a new WPF application I noticed exceptions not being thrown during data
I'm designing a pedometer application for the iPhone. Given the number of steps a
I have a iPhone application with a few custom-defined colors for my theme. Since
I was designing a mobile version of my website but then realized I need

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.