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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:31:26+00:00 2026-05-23T13:31:26+00:00

I am adding a view that fades in that gives my user alerts like

  • 0

I am adding a view that fades in that gives my user alerts like successful login etc. Unfortunately the view does not appear above the keyboard so half of it gets hidden because I am displaying it in the center.

case 401:
                alertBezel = [[MBProgressHUD alloc] initWithView:self.view];
                [self.view addSubview:alertBezel];

                // Make the customViews 37 by 37 pixels for best results (those are the bounds of the build-in progress indicators)
                alertBezel.customView = [[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"37x-Checkmark.png"]] autorelease];
                alertBezel.mode = MBProgressHUDModeCustomView;
                alertBezel.labelText = @"Unauthorized User!";
                [alertBezel show:YES];
                [alertBezel hide:YES afterDelay:1];
                break;

I also tried getting the key window:

[[UIApplication sharedApplication] keyWindow]

No luck.

  • 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-23T13:31:27+00:00Added an answer on May 23, 2026 at 1:31 pm

    It sounds like you should really be using a UIAlertView. That will show up over the keyboard.

    Below are some resources on customizing alert views:

    how i can implement a custom UIAlertview with a progress bar and a cancel button?

    http://www.skylarcantu.com/blog/2009/08/14/custom-uialertview-color-chooser/

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

Sidebar

Related Questions

I'm having a login view that accepts username and password. Upon successful authentication, i'll
I have a table view that I am customizing and I am adding a
I have a small png that I am adding to a view which I
I tried adding a view with a white color like transparent so I set
Does C# (WinForms) support adding a view or control to another control? Could anyone
I'm adding in-app purchase on my application. I have a view that displays information
I have a view that I'm loading, and my onCreate() method looks like this:
I have a custom view that has to track the user's location. I put
Currently, I have a table view that the user can add items and delete
I'm adding a ViewController as a subview to my main view, like so: UIStoryboard

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.