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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:35:30+00:00 2026-06-13T11:35:30+00:00

I see that few apps are extending keyboard but I would like to know

  • 0

I see that few apps are extending keyboard but I would like to know how they do it.

Here are 2 examples.

Textastic &
Prompt

Now I know that I can add inputAccessoryView to UITextView but it still has small thin line that separates keyboard from UIToolbar like on image bellow.

enter image description here

How they do it? Extending UIWindow that holds keyboard or in some other way?

Update 1 with answer:

So I have used solution that Tyraz wrote.

  1. Subclass UIToolbar
  2. Instead of image I have used UIView with background color same as the finishing color of the keyboard gradient and with UIViewAutoResizingMaskFlexibleWidth so that it covers keyboard when rotated, with height of 3 pixels

Here is the code for the subclassed UIToolbar

- (void)didMoveToSuperview {

    [self.separatorHideView removeFromSuperview];

    CGRect seperatorRect = CGRectMake(self.frame.origin.x,
                                      self.frame.size.height,
                                      self.frame.size.width,
                                      3.0);

    self.separatorHideView = [[UIView alloc]];
    self.separatorHideView.backgroundColor = [UIColor colorWithRed:0.569 green:0.600 blue:0.643 alpha:1.000];
    self.separatorHideView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
    [self addSubview:self.separatorHideView];
}

Update 2: Here is code how I’m adding it to UITextView and what color I’m using for tint.

I’m adding it to the UITextView in viewDidLoad with following code

    CustomToolbar *accessoryToolbar = [[CustomToolbar alloc] initWithFrame:CGRectMake(0, 0, 320, 38)];
    accessoryToolbar.tintColor = [UIColor colorWithRed:0.569 green:0.600 blue:0.643 alpha:1.000];
    editor.inputAccessoryView = accessoryToolbar;  

And this is how it looks like with solution applied to it

enter image description here

  • 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-13T11:35:31+00:00Added an answer on June 13, 2026 at 11:35 am

    I would try to use a inputAccessoryView plus a second view that sits on top of the separator line and “fills the gap”.

    Once the inputAccessoryView is added to the keyboard (overwrite the didMoveToSuperview method in your accessory UIView subclass to get notified when this happens), add it to the inputAccessoryView’s superview.

    Should be something like that in your accessory UIView subclass:

    - (void)didMoveToSuperview {
      [self.separatorHideView removeFromSuperview];
    
      CGRect seperatorRect = CGRectMake(self.frame.origin.x, 
                                        self.frame.origin.y + self.frame.size.height,
                                        self.frame.size.width,
                                        2.0);
    
      UIImage *gapGradient = [UIImage imageNamed:@"GapGradient"];
      self.separatorHideView = [[UIImageView alloc]initWithImage:gapGradient];
      self.separatorHideView.frame = seperatorRect;
    
      [self.superview addSubview:self.separatorHideView];
    }
    

    I would also overwrite setFrame in your accessory UIView subclass to update the frame of the gapView in case the frame of the keyboard is changed.

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

Sidebar

Related Questions

I have a few pages and want that they use one style. See in
I see that many people get this error, but their situations all appear a
I see that there is PostSharp AOP support for Silverlight, but is there a
I see that tax information is kept at order level but I cannot see
I see that you can enable/disable using the EnableWindow method, but how do I
So there are a few apps on the app store that implement access to
I recently received an Arabic translation for my app, but would like to do
I have seen a few examples where the viewModel (in Silverlight apps) is in
I am newbie in creating apps for Facebook and I would like to ask
I have made multiple simple but fun apps for iPhone in the past few

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.