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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:29:53+00:00 2026-05-25T20:29:53+00:00

Is there a way to hide number button and space button ? Mantaining UIKeyboard

  • 0

Is there a way to hide number button and space button?

enter image description here

Mantaining UIKeyboard transparency??

I need a keyboard with only letters, backspace and NEXT button, nothing else.
I need compatibility from iOS 3.1+!

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-05-25T20:29:54+00:00Added an answer on May 25, 2026 at 8:29 pm

    This page has a great tutorial about customizing a keyboard. Looks like you might be able to use this to hide the buttons you don’t want, or change the current buttons.

    Basically, you should register as an observer for the UIKeyboardWillShowNotification:

    [[NSNotificationCenter defaultCenter] addObserver:self 
                                             selector:@selector(keyboardWillShow:) 
                                                 name:UIKeyboardWillShowNotification 
                                               object:nil];
    

    and do customization inside your keyboardWillShow: notification handler:

    - (void)keyboardWillShow:(NSNotification *)notification { 
        // locate keyboard view
        UIWindow* tempWindow = [[[UIApplication sharedApplication] windows] objectAtIndex:1];
        UIView* keyboard;
        for(int i=0; i<[tempWindow.subviews count]; i++) {
            keyboard = [tempWindow.subviews objectAtIndex:i];
            // keyboard view found; add the customization to it
            if([[keyboard description] hasPrefix:@"<UIKeyboard"] == YES)
                UIView *customView = [[UIView alloc] init];
                // do stuff to customView here
                [keyboard addSubview:customView];
        }
    }
    

    The prefix @"<UIKeyboard" in this line if([[keyboard description] hasPrefix:@"<UIKeyboard"] == YES) might be different. So you should loop through once using NSLog to print out all the subview descriptions to see what string you need to check for.


    And here is some info about the default keyboards that are provided (non-customized)

    UIKeyboardType – The type of keyboard to display for a given text-based view.

    Check out this UIKeyboardType page for images of each keyboard type.

    Here are some definitions from UITextInputTraits Protocol Reference

    typedef enum {
       UIKeyboardTypeDefault,
       UIKeyboardTypeASCIICapable,
       UIKeyboardTypeNumbersAndPunctuation,
       UIKeyboardTypeURL,
       UIKeyboardTypeNumberPad,
       UIKeyboardTypePhonePad,
       UIKeyboardTypeNamePhonePad,
       UIKeyboardTypeEmailAddress,
       UIKeyboardTypeDecimalPad,
       UIKeyboardTypeAlphabet = UIKeyboardTypeASCIICapable
    } UIKeyboardType;
    
    • UIKeyboardTypeDefault

    Use the default keyboard for the current input method. Available in
    iOS 2.0 and later.

    • UIKeyboardTypeASCIICapable

    Use a keyboard that displays standard ASCII characters. Available in
    iOS 2.0 and later.

    • UIKeyboardTypeNumbersAndPunctuation

    Use the numbers and punctuation keyboard. Available in iOS 2.0 and
    later.

    • UIKeyboardTypeURL

    Use a keyboard optimized for URL entry. This type features “.”, “/”,
    and “.com” prominently. Available in iOS 2.0 and later.

    • UIKeyboardTypeNumberPad

    Use a numeric keypad designed for PIN entry. This type features the
    numbers 0 through 9 prominently. This keyboard type does not support
    auto-capitalization. Available in iOS 2.0 and later.

    • UIKeyboardTypePhonePad

    Use a keypad designed for entering telephone numbers. This type
    features the numbers 0 through 9 and the “*” and “#” characters
    prominently. This keyboard type does not support auto-capitalization.
    Available in iOS 2.0 and later.

    • UIKeyboardTypeNamePhonePad

    Use a keypad designed for entering a person’s name or phone number.
    This keyboard type does not support auto-capitalization. Available in
    iOS 2.0 and later.

    • UIKeyboardTypeEmailAddress

    Use a keyboard optimized for specifying email addresses. This type
    features the “@”, “.” and space characters prominently. Available in
    iOS 2.0 and later.

    • UIKeyboardTypeDecimalPad

    Use a keyboard with numbers and a decimal point. Available in iOS 4.1
    and later.

    • UIKeyboardTypeAlphabet

    Deprecated. Use UIKeyboardTypeASCIICapable instead. Available in iOS
    2.0 and later.

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

Sidebar

Related Questions

is there a way to hide the default values of my number properties? I've
Is there a way to hide radio buttons inside a RadioButtonList control programmatically?
Is there some way to hide the browser toolbar / statusbar etc in current
Is there a way to hide the google toolbar in my browser programmable?
Is there a way to hide table rows without affecting the overall table width?
Is there a way to hide private data members of a C++ class away
Is there any way to 'hide' the name of a class, whose sole purpose
is there a way to hide columns of a buffer (text file, you know
Is there a way to hide the text limit line in netbeans 6.5?
Is there a way to hide the textbox that is targeted by the colorpickerextender

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.