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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:27:42+00:00 2026-05-17T22:27:42+00:00

I’m using Monotouch to develop an app for the iPhone. In my iPhone only

  • 0

I’m using Monotouch to develop an app for the iPhone.

In my iPhone only app, I have an InputAccessoryView appear whenever the user selects a textfield. The accessory view provides buttons which aid the user (undo/redo etc).

It works fantastically on the simulator and on iPhone devices.

However, out of the blue, the Input Accessory View is not appearing on the iPad. I’ve made no changes to the code regarding the views; I’ve even rolled back to a version that I know displayed the accessory view correctly.

I was wondering if anyone else has come across this behaviour before / would know why this is happening?

EDIT

I’ve seen this accross all of my iphone projects running on the ipad. I made a fresh project which only contains 1 view, a UITextField and override the Input Accessory View and I’m still seeing nothing.

Code I’m using to test the override of the input view is:

public override UIView InputAccessoryView
{
   get
   {
      UIView view = new UIView(new RectangleF(0,0,320,30));
      view.BackgroundColor = UIColor.Blue;
      return view;
   }
}

Nothing too complex, on the iPhone just returns a blue bar above the keyboard.

I’ve reinstalled Mono, MonoDevelop, Monotouch and the iOS SDK multiple times to no avail. Apps that I’ve downloaded from the store still show the Input Accessory View, so I’m beginning to wonder if it’s an issue with my Monotouch/iOS SDK combo? I’m using Monotouch 3.1.3 personal and 4.1 iOS SDK – version 2.6 of Mono. I’m going to try updating to version 2.8 of Mono.

The thing I don’t understand is why it would work previously then all of a sudden just stop working?

When I’m deploying the code on the iPad, I’m selecting “Rebuild all”, then uploading to the device. It doesn’t matter if I pick either Release/Debug as a build, both yield the same result.

EDIT 2

If I subclass a UITextField and override the InputAccessoryView within that subclass, then the view appears on the iPad. This means that the InputAccessoryView which is being overriden in the View class isn’t being assigned to the Textfield on the ipad.

EDIT 3
It would appear this is fixed in iOS 4.2 with Monotouch 3.2 !

  • 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-17T22:27:43+00:00Added an answer on May 17, 2026 at 10:27 pm

    My first suggestion is to reset the device in iTunes. You may have done so already, but just in case you did not, please do it first (since it’s quick and easy to do).

    If that didn’t help: To identify if it is a problem with Monotouch and/or the iOS SDK could you repeat what you did above using only Cocoa Touch?

    I.e., start a View-based app in XCode, add one UITextField in Interface Builder and connect it to the controller. Here is a corresponding Objective-C code to do it:

    Instance variables in your controller (add to the @interface section in the <controllername>.h file):

    IBOutlet UITextField *text;
    UIView *accessory;
    

    Hook up the UITextField in Interface Builder with the text outlet and then add the following implementation of viewDidLoad to the controller (the @implementation section in the <controllername>.m file):

    - (void)viewDidLoad {
        accessory = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 30)];
        [accessory setBackgroundColor:[UIColor blueColor]];
        [text setInputAccessoryView:accessory];
        [super viewDidLoad];
    }
    

    If this displays the blue bar correctly, the problem is with the setup of Monotouch. If it does not, it is an issue with your device.

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

Sidebar

Related Questions

No related questions found

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.