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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:31:58+00:00 2026-06-12T16:31:58+00:00

In My application i develope a custom keyboard in one of local language.Now this

  • 0

In My application i develope a custom keyboard in one of local language.Now this keyboard works fine with UITextField and UITextView.For both these i implement the Custom keyboard like this.

textField.inputView = Customkeyboard;
textView.inputView = Customkeyboard;

But when i implement its for UISearchBar

searchBar.inputView = Customkeyboard;

its gives me Following Error.

error: object cannot be set – either readonly property or no setter found

i also set its property and Synthesis,but unable to solve this problem.Can any one help me to solve this problem.Thanx.

  • 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-12T16:31:59+00:00Added an answer on June 12, 2026 at 4:31 pm

    According to class documentation of UIResponder

    The value of this property is nil. Responder objects that require a custom view to gather input from the user should redeclare this property as readwrite and use it to manage their custom input view. When the receiver subsequently becomes the first responder, the responder infrastructure presents the specified input view automatically. Similarly, when the view resigns its first responder status, the responder infrastructure automatically dismisses the specified view.

    Okay, create a class inherited from UISearchBar like below .h and .m files. In your .h file ad the folowing lines

    @interface SearchBar : UISearchBar
    @property (readwrite, retain) UIView *inputView;
    @end

    In your current controller where you are using this, replace UISearchBar with SearchBar.

    searchBar.inputView = Customkeyboard; // Where searchBar is an object of SearchBar and not UISearchBar

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

Sidebar

Related Questions

I've been looking to create a custom keyboard for my application. At first, I
I want to develop an application with a custom camera with one button over
I have developed an application for iPhone devices, the application works perfectly both in
We are having an application developed for BlackBerry - a pretty big one only.
I have a WPF Keyboard Application, it is developed in such a way that
I've got web application developed in spring mvc, java, mysql (hibernate) . Now the
I develop application for my custom ROM and I need to call PackageManager's method
I would like to develop a custom application (multiple screens, complex processes) on top
I am looking into creating custom keyboard for Android, but I would like to
I have customer that uses older, custom built ERP application for which they don't

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.