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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:26:08+00:00 2026-06-09T14:26:08+00:00

This is a general question in IOS. I have a view which is having

  • 0

This is a general question in IOS. I have a view which is having some subviews (i have added those views using insertSubview:atIndex: method). If I remove those subviews by removeFromSuperview method, my main view will shown up, but all GUI actions are very slow in that view. for example: If I click text field on the main view , the keyboard appears very slowly and goes down slowly too. I don’t know what have I done wrong. Any idea ?

Here is a sample code. self is my main view, I’m adding other two views in it.

(void) begin_action {
                subview1 =[[test_subview1 alloc] init];
                [self.view insertSubview:[self. subview1.view] atIndex:0];

        subview2 =[[test_subview2 alloc] init];
                [self.view insertSubview:[self.subview2.view] atIndex:1];
    }

    end_of_action {
           [self. subview1.view removeFromSuperview];
           [self. subview2.view removeFromSuperview];

           self. subview1 = nil;
           self. subview2 = nil;
    }

Other than this anything I need to do two remove a view?

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-06-09T14:26:09+00:00Added an answer on June 9, 2026 at 2:26 pm

    Did you check this on an actual device? Also, try restarting the simulator – tipycalFlow

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

Sidebar

Related Questions

This is a general question. Using an example below, suppose that I have a
This is a general iOS 5+/4 question: If I make my app using storyboards,
This is a general question about character encoding when using MD5 libraries in various
This is a general question. What are some techniques you employ to prevent the
This is a general question, but I'd love some feedback. I'm new to working
This is a general question about writing web apps. I have an application that
This is a general question, so I won't name which site's API I am
This is a general question, I have two pages, a main and a backgound
This is a general question that just popped into my head that I have
Hello This is a general question.I want to create a simple report just some

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.