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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T19:19:33+00:00 2026-05-20T19:19:33+00:00

I have a view with about 30 subviews on it. I want to add

  • 0

I have a view with about 30 subviews on it. I want to add code in my subview’s viewcontroller so that when I tap the subview, the subview expands to fill the screen.

I’m using [self.view setFrame:rect] to expand the subview, and this works fine. The problem is that some of the other 29 subviews are above the subview that I just tapped, so they’re still visible.

I’ve tried using bringSubviewToFront from the parent viewcontroller, but this appears to have no effect. Is there any code I can put in my subview’s viewcontroller class to make this happen?

  • 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-20T19:19:34+00:00Added an answer on May 20, 2026 at 7:19 pm

    bringSubviewToFront should work, just make sure you’re using it correctly. The usage is.

    [parentView bringSubviewToFront:childView];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a little issue about subviews with x-code with storyboards. I want to
I have a viewcontroller, into this I add a several subviews to his view,
I have a combobox in a view that receives information about application state changes,
Basically I have a view controller having two subviews. I want these views to
I have a UIViewController, and I've added two subviews to its view. One subview
I have question regarding about finding subview using '.tags' in one UIView. for (UIView
I have a UIView in a scrollview that contains about 100 subviews. The subviews
I'm confused about below situation. I have a viewcontroller(VC), it has 1 subview(SubV) and
i have another (probably unanswered) question about map views. I have a map view
I have about 700 items to display in the grid view. On a Samsung

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.