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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T23:12:52+00:00 2026-06-08T23:12:52+00:00

I have a couple of inputScreens where user presses a button which currently opens

  • 0

I have a couple of inputScreens where user presses a button which currently opens another pickerScreen with a picker and several buttons on it.

Instead of showing the pickerScreen as a complete new screen that totally covers the inputScreens I would like the pickerScreen to show on top of the inputScreen –

like a smaller screen centered and graying out and making inaccessible
the underlying inputScreen as long as the pickerScreen is shown.

Currently inputScreens and pickerScreen are implemented with UIViewController. …and the pickerScreen totally replaces the inputScreen.

Is there an easy way to just change the pickerScreen so it appears on top of the inputScreens?

Many 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-08T23:12:53+00:00Added an answer on June 8, 2026 at 11:12 pm

    Make a UIView with the picker view on it having the size as u desired.and hide that view in the view DidLoad.and when The desired button is pressed unhide that view.Then hide it after all your needs.it’s so simple.otherwise adjust the size of the Pickerview as desired.`

    UIView *whiteCoverView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 400)];
        whiteCoverView.alpha = 0.9;
        whiteCoverView.tag = 999;
        whiteCoverView.backgroundColor = [UIColor grayColor];
        [self.view addSubview:whiteCoverView];
    
    
    
    
        UILabel *label2 = [[UILabel alloc] initWithFrame:CGRectMake(0, 25, 320, 40)];
        label2.backgroundColor = [UIColor clearColor];
        label2.numberOfLines = 0;
        label2.font = [UIFont boldSystemFontOfSize:15.0];
        label2.shadowColor = [UIColor colorWithWhite:0.0 alpha:0.5];
        label2.textAlignment = UITextAlignmentCenter;
        label2.textColor = [UIColor whiteColor];
        label2.text = @"cfff";
        [whiteCoverView addSubview:label2];
        [label2 release];
    
        int gap = 10;
    
        UILabel *label3a = [[UILabel alloc] initWithFrame:CGRectMake(20, gap+50, 280, 15)];
        label3a.backgroundColor = [UIColor clearColor];
        label3a.numberOfLines = 0;
        label3a.font = [UIFont boldSystemFontOfSize:13.0];
        label3a.shadowColor = [UIColor colorWithWhite:0.0 alpha:0.5];
        label3a.textAlignment = UITextAlignmentCenter;
        label3a.textColor = [UIColor whiteColor];
        label3a.text = @"cfccc ";
        [whiteCoverView addSubview:label3a];
        [label3a release];
    

    add the picker like this.
    `

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

Sidebar

Related Questions

I have couple buttons which im putting in wrapPanel in loop: for (int i
I have couple resource DLLs that I currently load when application starts using following
Here's the problem: I have couple of pages which gets its content from a
I have couple of machines on which I wish to schedule exceutions. I need
I have couple of ideas in my brain which I would like to bring
I have couple of php scripts which are called by cron. The cron job
I have couple of objects(1 custom object called appointment and event object) which i
In my app I have couple activities. How to setup that every time user
I have couple of bat files which run further files to build the project.
I have couple of fields in oracle which is NVARCHAR and I am using

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.